Boost logo

Boost :

Subject: Re: [boost] [container] static_vector: fixed capacity vector update
From: Olaf van der Spek (ml_at_[hidden])
Date: 2013-01-22 09:52:46


On Tue, Jan 22, 2013 at 2:33 PM, Adam Wulkiewicz
<adam.wulkiewicz_at_[hidden]> wrote:
>> That's just a single bit.
>
>
> No, because static part will be created on stack and if external storage was
> created by non-std allocator then hybrid_vector would have a full set of
> additional members.

You need either those members or the static storage, not both at the
same time, so they could share the same space.

-- 
Olaf

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