|
Boost : |
From: Rob Stewart (stewart_at_[hidden])
Date: 2005-09-06 15:13:48
From: Joel Eidsath <jeidsath_at_[hidden]>
> Daryle Walker wrote:
>
> >
> >What about std::deque?
>
> Will I need to insert objects at the front at any time?
It may need to grow and std::deque is more efficient at that than
std::vector because it doesn't need to copy the existing data.
OTOH, std::deque usually acquires more excess memory than
std::vector when the string of digits is small.
-- Rob Stewart stewart_at_[hidden] Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk