|
Boost : |
Subject: Re: [boost] Is this a MSVC bug?
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2014-05-06 10:55:21
On May 6, 2014 9:37:33 AM EDT, Jonathan Wakely <jwakely.boost_at_[hidden]> wrote:
>On 6 May 2014 12:45, Andrzej Krzemienski wrote:
>>
>> Do you know if this a bug in VC++, or if that is supposed to be
>valid?
>
>It's valid, the reference should bind directly to global_i.
In the code he provided, the assertion failure means that the address of the reference ii != the address of global_i. That's surprising.
___
Rob
(Sent from my portable computation engine)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk