|
Boost : |
Subject: Re: [boost] [container] stable_vector::back() is broken in Boost 1.53
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2013-04-08 16:54:42
El 08/04/2013 18:28, Klaim - Joël Lamotte escribió:
> On Mon, Apr 8, 2013 at 6:03 PM, Petr Machata <pmachata_at_[hidden]> wrote:
>
>> That's how std::vector behaves. If you want checking, you are supposed
>> to use the "at" method.
>>
>
> I think he meant to have the assert which would be active only in debug
> mode.
It's a good idea, I've added that check to stable_vector.
Ion
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk