Boost logo

Boost :

Subject: Re: [boost] [type_traits][multi_index][msvc-7.1] problems with is_const in VC 7.1
From: Joaquín M LópezMuñoz (joaquin_at_[hidden])
Date: 2015-10-15 14:40:04


Ion Gaztañaga <igaztanaga <at> gmail.com> writes:

>
> On 15/10/2015 13:22, Joaquin M LópezMuñoz wrote:
> >
> > Boost.MultiIndex is failing at master for VC 7.1:
> >
> > [...]
> >
> > template<class Type>
> > struct identity:
> > mpl::if_c<
> > is_const<Type>::value,
> > detail::const_identity_base<Type>,
> > detail::non_const_identity_base<Type>
> > >::type
> > {
> > };
>
> Sometimes MSVC-7.1 seems to be happier with a bit more flattened
> template instantiation chain. Maybe if you SFINAE it with partial
> specialization of identity it will work.
>
> Another option is to use if_<> instead of if_c. It could make
> MSVC happier.

Won't you have direct access to a local MSVC 7.1 installation to play
with prior to commiting any …¹•ÌÑ¼¥Ñ¡ÕˆüQ¡”¥™|Ñ¡¥¹œ¥¸)Á…ÉÑ¥Õ±…ȁ͕•µÌ¥¹½™™•¹Í¥Ù”•¹½Õ Ñ¼ÑÉ䁽Õи())½…Å×µ¸43ÍÁ•è5׎è)Q•±•›͹¥„


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