Boost logo

Boost :

Subject: Re: [boost] Interest in StaticVector - fixed capacity vector
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2011-10-15 19:51:50

> > 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?

Another example would be the underlying data structure for a circular
buffer whose maximum size is known at compile time.


Boost list run by bdawes at, gregod at, cpdaniel at, john at