|
Boost : |
From: Daniel Spangenberg (dsp_at_[hidden])
Date: 2003-11-04 06:27:29
David Abrahams schrieb:
> Daniel Spangenberg <dsp_at_[hidden]> writes:
>
> You'd better supply a careful definition of Swappable before I
> believe that. Once Howard Hinnant's LWG issue 301 changes are
> accepted, the picture may look a bit different.
Hmmh, I cannot relate LWG issue 301 to this point of question or even
Howard Hinnant related to this ;-)
Maybe you mean your **own** issue 227
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#227
?
But I see no connection to my point, which is obviously related to
my missing definition of Swappable. This terminus cannot be found
in C++98, nor could I find any definition on the pages of the commitee.
OK, I mean by swappable that this type provides a swap member function.
I do not see any connection between swapable and copyable. You could
even allow a swap for any (dynamic) std::container w/o copyability.
This is related to the swapability of boost::scoped_ptr which also does not
provide copy-semantic, but fulfils swapability.
Daniel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk