Monthly Archives: January 2017

C++11 note

list initialization Initializes an object from braced-init-list. int list_initialization = { 100 }; int list_initialization{ 100 }; int list_initialization(100); int list_initialization = 100; null pointers nullptr int * p = nullptr; constexpr and constant expressions A constant expression is an

spacer