
17 Jan
2006
17 Jan
'06
2:52 p.m.
I'm trying something new using mpl's inherit_linearly but I can't figure out how to do what I want to do. The idea, simply: template<typename Policies> class Test : public inherit_linearly<Policies, inherit<_1, _2> >::type { public: void do_something(void) { for each Base in Policies Base::do_something(); rof } }; Is there a straightforward way to do this or am I thinking about this in the wrong way? -Dave