Boost logo

Boost Users :

From: David Greene (greened_at_[hidden])
Date: 2006-01-17 09:52:50

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 {
   void do_something(void) {
      for each Base in Policies

Is there a straightforward way to do this or am I thinking about this
in the wrong way?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at