
please wait
{1,2,3}
initializer syntax was introduced in C++11 and along with that:
|
|
Note that the presence of list-initializing constructor (10) means list initialization and direct initialization do different things: https://en.cppreference.com/w/cpp/container/vector/vector#Notes |