I can live with either way, and have started to like both of these colon-after-parenthesis styles as acceptable:
A(
int a,
float b,
void* c) :
mem1(a),
mem2(b),
mem3(c)
{
}
or, alternatively:
A(int a, float b, void* c) :
mem1(a),
mem2(b),
mem3(c)
{
}
This is mostly because everything is aligned to the 4-space indents.
I can live with either way, and have started to like both of these colon-after- parenthesis styles as acceptable:
A(
int a,
float b,
void* c) :
mem1(a),
mem2(b),
mem3(c)
{
}
or, alternatively:
A(int a, float b, void* c) :
mem1(a),
mem2(b),
mem3(c)
{
}
This is mostly because everything is aligned to the 4-space indents.