Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-10-13 13:47:26


On 10/13/2004 08:40 AM, Larry Evans wrote:
> On 10/12/2004 10:23 PM, Larry Evans wrote:
[snip]
> FWIW, the como -E compile command produces this output:
>
> <-----------------
> namespace boost { namespace mpl {
>
> template<
> typename C = na
> , typename F1 = na
> , typename F2 = na
> >
> struct eval_if
>
> : if_<C,F1,F2>::type
> {
>
>
>
>
>
>
> };
>
> ...
> >-----------------

That's probably not the problem, because with this input:

<-------------
#include <boost/mpl/eval_if.hpp>
struct A{};
struct B{};
struct C{};
typedef boost::mpl::eval_if<A,B,C>::type X;
X x;
>-------------

compilation succeeds.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk