template<class T> class initializer_list;
const T
1
auto il = { 10, 20, 30 }; // the type of il is an initializer_list
<initializer_list>
12345678
struct myclass { myclass (int,int); myclass (initializer_list<int>); /* definitions ... */ }; myclass foo {10,20}; // calls initializer_list ctor myclass bar (10,20); // calls first constructor
initializer_list::value_type
const T&
const T*