|
Boost Users : |
Subject: Re: [Boost-users] [MPL] what is my base class?
From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2010-05-25 12:07:42
2010/5/25 John Dlugosz <JDlugosz_at_[hidden]>
> > typedef BaseClass<etc.> super;
>
> It turns out that this does work under VS2008.
>
Have you tried using injected names under VS2008? Like this:
template <typename T>
struct C
: boost::mpl::if_<
is_blue<T>,
Ca <T>,
Cb<T>
>::type {
C(blah& a, xxx b) : if_(a, b) {}
};
Roman Perepelitsa.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net