Boost logo

Boost :

Subject: Re: [boost] [container] stable_vector::back() is broken in Boost 1.53
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2013-04-08 12:28:46


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.
std::vector::at() have the check in all modes.

Joel Lamotte


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