From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-06-12 07:58:44
Jan Gaspar skrev:
> Sorry I don't have time to do this. Anyway IMO implementing reserve would give an impression that the capacity is not fixed
but how can it be fixed if set_capacity can alter it?
> and increases as you put elements into the circular buffer. And at last circular buffer is not a vector.
no, but there are overlaps in functionality/use-cases and not having
reserve makes it harder to write generic code that accepts either type.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk