From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2003-09-29 17:29:52
> STL containers elements are required to implement an assignment operator.
> This suggests to me that there is a conceptual conflict inherent in the
> idea of an STL container of objects that require construtor arguments.
I think that you're correct in saying that things in STL containers must be
assignable, but you can certainly have an object with value semantics that
has no sensible default constructor. Such objects are perfectly valid
things to put in STL containers.
Stephan T. Lavavej
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk