Re: [Boost-bugs] [Boost C++ Libraries] #7675: BOOST_NO_DECLTYPE doesn't imply BOOST_NO_DECLTYPE_N3276 anymore

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7675: BOOST_NO_DECLTYPE doesn't imply BOOST_NO_DECLTYPE_N3276 anymore
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-09 23:24:27


#7675: BOOST_NO_DECLTYPE doesn't imply BOOST_NO_DECLTYPE_N3276 anymore
--------------------------------+-------------------------------------------
  Reporter: gromer@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.52.0 | Severity: Regression
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by Geoff Romer <gromer@…>):

 Hmm; the problem is indeed more general: user-supplied settings of ''any''
 of the deprecated macros will be ignored by Boost code that uses the
 corresponding new macros. This is because, although suffix.hpp contains
 code to set the legacy macros based on the new macros, the config headers
 have no corresponding code to set the new macros based on the legacy
 macros. I've specifically encountered this in the context of
 boost/thread/locks.hpp's use of
 `BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS`, but this is presumably
 just one instance of many.

 Note that this deprecation is not even documented yet (see ticket:7676),
 so the fact that these macros are marked deprecated deep in the config
 headers is no excuse for breaking support for them.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7675#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:11 UTC