|
Boost : |
Subject: Re: [boost] Interest in StaticVector - fixed capacity vector
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-10-15 10:30:35
Adam Wulkiewicz wrote:
> I'd rather use the following:
>
> while ( sv.size() < sv.capacity() && keep_pushing )
> // do a push_back into a static_vector
Yeah, if you get to rewrite all the functions that lead to the push_back.
Like spirit::parse and everything it calls.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk