From: Jeremy Siek (jsiek_at_[hidden])
Date: 2004-03-07 20:13:28
On Friday, March 5, 2004, at 01:42 AM, Jan Gaspar wrote:
>> 4. docs: "Type Requirements": doesn't the T need
>> to be DefaultConstructible as well, e.g.
>> to support push_back(void)?
> Yes, but DefaultConstructible is needed only if you
> use such a method. In general it is not needed. For
> example you can just create empty circular_buffer and
> use push_back(T&). In this case T doesn't have to be
That means you have to mention this type requirement
in the documentation for the push_back() method.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk