[Boost-bugs] [Boost C++ Libraries] #11141: boost::noncopyable does not prevent adding copy constructor to derived class

Subject: [Boost-bugs] [Boost C++ Libraries] #11141: boost::noncopyable does not prevent adding copy constructor to derived class
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-25 09:54:48


#11141: boost::noncopyable does not prevent adding copy constructor to derived
class
------------------------------------------+------------------------------
 Reporter: Andreas Fenkart <afenkart@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
 Severity: Problem | Keywords:
------------------------------------------+------------------------------
 The documentation from boost::noncopyable is quite minimal.
 http://www.boost.org/doc/libs/1_55_0/libs/utility/utility.htm#Class_noncopyable
 http://stackoverflow.com/questions/7823990/what-are-the-advantages-of-
 boostnoncopyable

 To my understanding the attached code shouldn't compile

 $ gcc --version
 gcc (Debian 4.9.2-10) 4.9.2
 Copyright (C) 2014 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11141>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC