I've got a situation which can be summarized in the following:
class Test
{
Test();
int MySet[10];
};
is it possible to initialize MySet in an initializer list?
Like this kind of initializer list:
Test::Test() : MySet({1, 2, 3, 4, 5, 6, 7, 8, 9, 10}) {}
Is there any way to initialize a constant-sized member array in a class's initalizer list?