Subject: [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-11 21:30:28
#10783: BOOST_DELETED_FUNCTION must stay on the public section
------------------------------+-------------------------
Reporter: viboes | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
------------------------------+-------------------------
The definition of this macro on a public section show a bug
{{{
#if !defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)
# define BOOST_DELETED_FUNCTION(fun) fun = delete;
#else
# define BOOST_DELETED_FUNCTION(fun) private: fun;
#endif
}}}
This should be
{{{
# define BOOST_DELETED_FUNCTION(fun) private: fun; public:
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10783> 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