Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-04-29 11:02:27


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.

----------------
The same problem appears in MPL's value_wknd.hpp:

# if !defined(BOOST_MPL_MSVC_60_ETI_BUG)
# define BOOST_MPL_AUX_VALUE_WKND(C) ::boost::mpl::aux::value_wknd< C
>

needs to be changed to

# define BOOST_MPL_AUX_VALUE_WKND(C) boost::mpl::aux::value_wknd< C >

These problems appeared when trying to compile Collection Traits library.

/Pavel


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