
18 May
2006
18 May
'06
4:30 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Michael Goldshteyn Sent: Thursday, May 18, 2006 2:25 PM To: boost@lists.boost.org Subject: [boost] boost::noncopyable
Is there a reason why the prototype for noncopyable's operator= is improper. It is:
const noncopyable& operator=( const noncopyable& );
instead of
noncopyable& operator=( const noncopyable& );
Isn't this private and not implemented, therefore making the point moot? It should be by my guesstimate.
Also, shouldn't the destructor really be virtual?
You can't seriously be deleting pointers to noncopyables...
7053
Age (days ago)
7053
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sohail Somani