You can format the list of member initializers according to several physical source lines so that there is no problem with readability.
The big problem, obviously, is that you have classes with 45 data members. Nothing is going to make working with such classes easier.
AClass::AClass( type1 val1
, type2 val2
, type45 val45 )
: mem1( val1 )
, mem2( val2 )
, mem45( val45 )
{
}
, , :
AClass::AClass( type1 val1
, type2 val2
// ...
, type45 val45 )
{
mem1 = val1;
mem2 = val2;
// ...
mem45 = val45;
}