3 ms·
>C++ has 3 different ways of initializing member variables, with defined interactions between them (in-place, constructor initiator list, constructor body). If
by KptMarchewa 5y ago
>C++ has 3 different ways of initializing member variables, with defined interactions between them (in-place, constructor initiator list, constructor body).
If you generalize that to variables, you get 18: https://accu.org/journals/overload/25/139/brand_2379 https://accu.org/journals/overload/25/139/brand_2379