Boost C++ Libraries: Ticket #11476: has_member_function_callable_with.hpp is massively broken with BOOST_NO_CXX11_DECLTYPE https://svn.boost.org/trac10/ticket/11476 <p> <code>has_member_function_callable_with.hpp</code> does not build with <code>-DBOOST_NO_CXX11_DECLTYPE</code>, due to numerous bugs in code protected by that macro. </p> <p> I've attached the output of <code>clang++ --std=c++11 -D BOOST_NO_CXX11_DECLTYPE -c test.cc</code>, where <code>test.cc</code> consists of: </p> <pre class="wiki">#include "boost/container/flat_map.hpp" </pre><p> 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 <code>bool_</code>, is a bug in Boost.Move that has since been fixed by <a class="ext-link" href="https://github.com/boostorg/move/commit/4f9c2b"><span class="icon">​</span>https://github.com/boostorg/move/commit/4f9c2b</a>, but the rest are due to ill-formed code in <code>boost/intrusive/detail/has_member_function_callable_with.hpp</code>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11476 Trac 1.4.3 gromer@… Tue, 14 Jul 2015 23:00:05 GMT attachment set https://svn.boost.org/trac10/ticket/11476 https://svn.boost.org/trac10/ticket/11476 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">clang_output</span> </li> </ul> <p> clang++ output </p> Ticket Ion Gaztañaga Thu, 04 Aug 2016 21:25:26 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11476#comment:1 https://svn.boost.org/trac10/ticket/11476#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Sorry for the big delay. The bug was on low priority as all tested compilers had no problems with default configuration (no other user used -DBOOST_NO_CXX11_DECLTYPE while variadic templates where available). The issue was fixed and new tests added in commit: </p> <p> <a class="ext-link" href="https://github.com/boostorg/intrusive/commit/68c46450deef214845590264c9d963a0014a8125"><span class="icon">​</span>https://github.com/boostorg/intrusive/commit/68c46450deef214845590264c9d963a0014a8125</a> </p> <p> Thanks for the report. </p> Ticket