From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-07-07 17:50:39
I have no attachment to this guideline and would be happy to strike it.
It's probably out-of-place in a boost document anyway.
----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
> I disagree with the 'noncopyable' guideline. Here's why:
> * Deriving from noncopyable invokes warnings/remarks from MSVC and Intel
> C++. In order to suppress them, I have to declare the copy constructor and
> the assignment operator private, which defeats the purpose.
> * In order to derive from boost::noncopyable, I have to introduce a
> dependency on boost/utility.hpp. Since headers with such names tend to
> change frequently, this means frequent recompilations for no apparent
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk