gfvalvo:
Or even a lambda function?
MyFriends(HumanTypes tp) : HumanBeing([&tp](){if(tp == BIG_JERK) tp = NICE_GUY; return tp;}()){}
yep
gfvalvo:
Or even a lambda function?
MyFriends(HumanTypes tp) : HumanBeing([&tp](){if(tp == BIG_JERK) tp = NICE_GUY; return tp;}()){}
yep