|
Boost : |
Subject: [boost] [type_traits][multi_index][msvc-7.1] problems with is_const in VC 7.1
From: Joaquin M LópezMuñoz (joaquin_at_[hidden])
Date: 2015-10-15 07:22:10
>
Hi,
Boost.MultiIndex is failing at master for VC 7.1:
.\boost\multi_index\identity.hpp(75) : error C2535:
'Type &boost::multi_index::detail::const_identity_base<Type>::operator()
(const boost::reference_wrapper<Type> &) const' : member function already
defined or declared
the problem seemingly being with boost::is_const. The offending code
looks like
template<typename Type>
struct const_identity_base
{
// produces the error above if Type is not const
};
template<typename Type>
struct non_const_identity_base
{
...
};
template<class Type>
struct identity:
mpl::if_c<
is_const<Type>::value,
detail::const_identity_base<Type>,
detail::non_const_identity_base<Type>
>::type
{
};
Boost.TypeTraits recently c¹¥ÑÌ¥Í}½¹ÍÐ¥µÁ±µ¹Ñ
Ñ¥½¸Ñ¼Ñ¡)ÙÉäÍ¥µÁ±()ѵÁ±
Ññ±
ÍÌPø)ÍÑÉÕÐ¥Í}½¹ÍÐèÁÕ±¥
±Í}ÑåÁíôì)ѵÁ±
Ññ±
ÍÌPøÍÑÉÕÐ¥Í}½¹ÍÐñP½¹ÍÐøèÁÕ±¥ÑÉÕ}ÑåÁíôì)ѵÁ±
Ññ±
ÍÌP°Í¥é}Ð8øÍÑÉÕÐ¥Í}½¹ÍÐñP½¹ÍÑm9tøè(ÁÕ±¥ÑÉÕ}ÑåÁíôì)ѵÁ±
Ññ±
ÍÌPøÍÑÉÕÐ¥Í}½¹ÍÐñP½¹ÍÑmtøèÁÕ±¥ÑÉÕ}ÑåÁíôì()Ý¡¥ ɱ¥Ì½¸ÑµÁ±
ÑÁ
ÉÑ¥
°ÍÁ¥
±¥é
Ñ¥½¸¡ÍÕÁÁ½Í±äÍÕÁÁ½ÉÑ)äYܸĤ¸eа͵̱¥½¹ÍÑ}¥¹Ñ¥Ñå}
Í¥ÌÝɽ¹±äͱÑ)½È¹½¸µ½¹ÍÐQåÁ¸()¹ä±ÕÌ
½ÕÐÝ¡
е¥¡Ð½¥¹½¸üQ¡
¹¬å½Ô°())½
Å×µ¸43ÍÁè5׎è)Q±Í¹¥(
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk