r/programming • • Apr 01 '13

Ten C++11 Features Every C++ Developer Should Use

http://www.codeproject.com/Articles/570638/Ten-Cplusplus11-Features-Every-Cplusplus-Developer
469 Upvotes

283 comments sorted by

View all comments

Show parent comments

4

u/mhenr18 Apr 02 '13

Fortunately, the sizeof() operator has existed since the dawn of time.

edit: And as rabidcow has said, you need an rvalue to use auto, which you won't get in a class declaration.