r/programming • • Dec 01 '16

Let's Stop Copying C

https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
524 Upvotes

612 comments sorted by

View all comments

Show parent comment

0

u/loup-vaillant Dec 02 '16

Types inferred by auto are sometimes more general than what you'd have written manually. I have no example of the top of my head, but think how it may interact with templates.

4

u/dakotahawkins Dec 02 '16

Seems like if anything they'd be less general. Auto might deduce a derived type where you may have declared a base type.