braceInitializers.2.cpp 124 Bytes
Newer Older
1 2 3 4
class C {
    C() : _x{12}, _y({12}) {}
    C(int i) : _x{{{12, 2}, {"foo"}}, {bar}}... {}
};
5 6

void foo(int i = {1, 2, 3});