Re: [Boost-bugs] [Boost C++ Libraries] #10783: BOOST_DELETED_FUNCTION must stay on the public section

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10783: BOOST_DELETED_FUNCTION must stay on the public section
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-12 16:45:09


#10783: BOOST_DELETED_FUNCTION must stay on the public section
-------------------------------+-------------------------
  Reporter: viboes | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: config
   Version: Boost 1.57.0 | Severity: Problem
Resolution: wontfix | Keywords:
-------------------------------+-------------------------
Changes (by johnmaddock):

 * status: new => closed
 * resolution: => wontfix

Comment:

 The behavior you see is what's documented, specifically the docs say:
 "Since the macro may change the access mode, it is recommended to use this
 macro at the end of the class definition" and then go on to give an
 example that shows the access mode ''may'' be changed to private by this
 macro. If you need different behavior, I suggest you use
 BOOST_NO_CXX11_DELETED_FUNCTIONS in a #if...#else block.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10783#comment:1>
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:17 UTC