|
Boost : |
From: Jeremy Siek (jsiek_at_[hidden])
Date: 2002-10-29 16:23:44
Hi Kevin,
That definition of Copy Constructible came straight from the C++ std, and
as a matter of fact, Doug Gregor voiced this same complaint to the C++ std
committee last week. If you care about this, talk to Doug and look into
posting a defect report.
Cheers,
Jeremy
On Tue, 29 Oct 2002, Kevin S. Van Horn wrote:
Kevin.> Why are requirements about the address operator (&) included in
Kevin.> the CopyConstructible concept at
Kevin.> http://www.boost.org/libs/utility/CopyConstructible.html? This
Kevin.> strikes me as an error of taxonomy, as there is no essential
Kevin.> reason why the two issues belong together. There are many
Kevin.> algorithms that require one to be able to copy values, but don't
Kevin.> care about taking addresses, and we have boost::addressof()
Kevin.> anyway.
----------------------------------------------------------------------
Jeremy Siek http://php.indiana.edu/~jsiek/
Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk