inline A make_A(int a, int b) { A temp = {a, b}; return temp; } SomeClass::SomeClass(): a(make_A(0, 10)) { }