Subject: [Boost-bugs] [Boost C++ Libraries] #11476: has_member_function_callable_with.hpp is massively broken with BOOST_NO_CXX11_DECLTYPE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-14 22:59:11
#11476: has_member_function_callable_with.hpp is massively broken with
BOOST_NO_CXX11_DECLTYPE
------------------------------+------------------------
Reporter: gromer@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: intrusive
Version: Boost 1.58.0 | Severity: Regression
Keywords: |
------------------------------+------------------------
`has_member_function_callable_with.hpp` does not build with
`-DBOOST_NO_CXX11_DECLTYPE`, due to numerous bugs in code protected by
that macro.
I've attached the output of `clang++ --std=c++11 -D
BOOST_NO_CXX11_DECLTYPE -c test.cc`, where `test.cc` consists of:
{{{
#include "boost/container/flat_map.hpp"
}}}
gcc's output is similar. I can provide compiler version information, but
it shouldn't be necessary: the errors that I've checked are quite
unmistakably bugs in the code. The first error, concerning `bool_`, is a
bug in Boost.Move that has since been fixed by
https://github.com/boostorg/move/commit/4f9c2b, but the rest are due to
ill-formed code in
`boost/intrusive/detail/has_member_function_callable_with.hpp`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11476> 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