|
Boost : |
Subject: Re: [boost] boost::noncopyable errors are difficult to diagnose on MSVC
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-11-06 13:17:01
On Fri, Nov 6, 2009 at 9:44 AM, Zachary Turner <divisortheory_at_[hidden]> wrote:
> Is there anything that can be done to improve the error messages generated
> by the compiler when a copy fails to be made due to a boost::noncopyable?
Easy cure is to spell out the private declarations for the copy
constructor and the assignment operator "by hand". We all know that
this spells "non-copyable".
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk