I need my mutator to call a different function in my constructor and another function anytime after that, so I was thinking of putting a bool as a second parameter to differentiate as follows:
void SetName(const char* name, bool init)
{
init ? this(name) : that(name);
}
Is this against convention or anything? Should I use two separate mutators instead?