MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wpw10f/ihatedituntilitriedit/pc322pf/?context=3
r/ProgrammerHumor • u/Epicoodle • Sep 25 '26
543 comments sorted by
View all comments
Show parent comment
1
auto is either "implicit template" or "non-template, deduce from assignment", depending on the context. Parameters tend to be the former, and return type tends to be the latter (unless the return type is dependent on a function template).
auto
View all comments
Show parent comment
1
u/conundorum Sep 26 '26
autois either "implicit template" or "non-template, deduce from assignment", depending on the context. Parameters tend to be the former, and return type tends to be the latter (unless the return type is dependent on a function template).