Boost logo

Boost :

Subject: Re: [boost] Interest in StaticVector - fixed capacity vector
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2011-10-14 09:29:16


2011/10/14 Andrew Hundt <athundt_at_[hidden]>

> After comments by Nate Ridge, Dave Abrahams, and others, I have become
> convinced that push_back should be unchecked and exceeding the bounds
> should be undefined, with an option to turn on checking.
>
> I haven't been convinced how the option should be defined, though I've
> seen several options:
> 1) locally defined option
> 2) defined generally for boost
> 3) combination of 1 and 2, since they are not mutually exclusive
> 4) policy based.

Hi,

I program for embedded, and I've beed observing this discussion with
interest.

+1 for policy based from me. I can imagine using different policy
StaticVectors in the same app.

Regards,
Kris


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