8 Nov
2013
8 Nov
'13
3:29 p.m.
Is it possible to do this without having to specify a base class ('member') for the variables? If we are going to specify the member variables in a funny way, it may
be worth considering a solution based on Boost.Fusion. For example, swap() can be made like this:
class Foo { public: Foo() { member.a = 0; member.c = 0.0; }