Boost logo

Boost :

Subject: Re: [boost] Interest in StaticVector - fixed capacity vector
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-10-15 19:17:25


Nathan Ridge wrote:

> After reading this thread again, it seems to me that the reason we
> can't reach an agreement is that different people are proposing
> two fundamentally different ways of using static_vector:
>
> 1) As a variant of [std|boost]::array where not all the elements are
> constructed/used at the same time, and which keeps track of
> how many elements are currently in use.

Can you please give some examples of such use?


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