$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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¡
¹¬å½Ô())½
Å×µ¸43ÍÁè5׎è)Q±Í¹¥