Miscellaneous

nullptr

NULL is insufficient …

  • Type is not defined

  • Could be void*

  • Or just as well int

  • ⟶ Ambiguities

nullptr
void f(int);
void f(int*);

f(NULL); // Hell!
f(nullptr); // f(int*)

Templates end with “>>

Small parser insufficiency got fixed …

> > vs. >>
std::map<int,vector<int> > ...;
std::map<int,vector<int>> ...; // C++11: THANK YOU!

It’s about time!