Boost logo

Boost :

Subject: Re: [boost] Is this a MSVC bug?
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2014-05-06 12:37:23


On 6 May 2014 17:35, Philippe Vaucher wrote:
>>
>> Do you know if this a bug in VC++, or if that is supposed to be valid?
>>
>
> Can you print the values of &ii and &global_i before the assert? I don't
> quite see what `ii` could bind to...

It's probably creating a copy-initialized temporary and binding to
that temporary.


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