
30 Apr
2004
30 Apr
'04
10:34 a.m.
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.