Boost logo

Boost :

Subject: Re: [boost] [container] varray aka static_vector
From: Nevin Liber (nevin_at_[hidden])
Date: 2013-02-11 17:10:14


On 11 February 2013 14:32, Krzysztof Czainski <1czajnik_at_[hidden]> wrote:

> Now that I think of it, I wish there was a way to push an element to the
> back of varray without zero-initializing it (for PODs). But I think
> emplace_back should be consistent with other containers, so maybe some new
> member function can be added for this?
>

FYI: You can with the standard containers by using an allocator with a
different method for construct.

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

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