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-17 05:00:40


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

>
> [...] During previous experiments I even
> checked that is_const<remove_reference<Value> >::value was true inside
> const_ref_global_fun_base (static asserted) and even that
>
> typename remove_const<
> typename remove_reference<Value>::type>::type
>
> was a different type than
>
> typename remove_reference<Value>::type
>
> But for some reason MSVC fails to see both overloads as different.

It has to be connected with the new version of remove_const, I guess,
though this is as simple as it can possibly get...

May I abuse your patience and ask you for one more test? What happens
if we add a dummy int* = 0 argument to one of the overloads so that
the signature is different? Does MSVC s±°™…¥°Ñ¼±½½¬ÕÀÑ¡¥¹ÌÉ¥¡Ð)Ý¡•¸Ñ¡”±…Í́¥ÌÕÍ•€¡…́½ÁÁ½Í•Ñ¼‘•™¥¹•¤ü()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