Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2004-04-30 05:34:25


> BCB 6.4 doesnt't like when top level namespace is prefixed with ::
>
>
> type_traits/is_const.cpp contains line
>
>
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_const,T,::boost::detail::cv_traits_imp<T*>::
> is_const)
>
> If the leading :: is removed to
>
>
BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_const,T,boost::detail::cv_traits_imp<T*>::is
> _const)
>
> BCB stops complaining.
>
> There are few other places there which may be changed similarly.

Unfortunately that change would normally break BCB6.4 : without the leading
:: it doesn't view what follows as an integral constant expression. Do you
have a test case? (I've had a quick look at the container traits lib, but
Borland 6.4 wouldn't compile any of the tests :-( )

John.


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