|
Boost : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-01-02 12:12:51
> >
> > aCC-C++-action
> > > ../../../libs/filesystem/build/bin/libfs.a/acc/release/runtime
> -link-dynamic/operations_posix_windows.o
> > Error 20: "/home/tk/boost/boost/boost/mpl/if.hpp", line 56
> # '::' expected
> > before 'if_c'.
> > typedef typename if_c<
> > ^^^^
> > Hmm, that's silly. Looks like aCC might need full qualification here.
> My guess as well. One if these might work:
> typedef typename mpl::if_c<
> or
> typedef typename ::boost::mpl::if_c<
>
>Please report back on it, and I'll check in the appropriate fix.
Finally I found out that aCC has a problem with the typename mixed with the
template spec. So if I write the construct like this it works. Could you
apply this patch ?
struct if_
{
typedef if_c<
BOOST_MPL_AUX_ICE_CAST(bool, BOOST_MPL_AUX_VALUE_WKND(C)::value)
, T1
, T2
> parent_type ;
typedef typename parent_type::type type;
BOOST_MPL_AUX_LAMBDA_SUPPORT(3,if_,(C,T1,T2))
};
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk