Re: [Boost-bugs] [Boost C++ Libraries] #5687: some evaluation functions do not work with BOOST_RESULT_OF_USE_DECLTYPE

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5687: some evaluation functions do not work with BOOST_RESULT_OF_USE_DECLTYPE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-15 13:30:07


#5687: some evaluation functions do not work with BOOST_RESULT_OF_USE_DECLTYPE
-------------------------------------------------+--------------------------
  Reporter: Michel MORIN <mimomorin@…> | Owner: theller
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: phoenix
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords: C++0x
-------------------------------------------------+--------------------------

Comment (by michel):

 Thomas, what is the current situation of this ticket?

 In trunk, decltype-based `result_of` is **enabled by default** on a
 compiler with N3276 decltype support (such as clang 3.1). This means that
 some existing codes fail to compile on such compilers. (Users have an
 option to disable decltype-based `result_of` by defining
 `BOOST_RESULT_OF_USE_TR1`.)

 I tested Boost.Phoenix on clang (which implements N3276 decltype) in a
 C++11 mode.
 The following tests fail to compile:
 * libs/phoenix/test/bind_not_test.test
 * libs/phoenix/test/bind_rv_sp_test.test
 * libs/phoenix/test/bind_stateful_test.test
 * libs/phoenix/test/bind_test.test
 * libs/phoenix/test/bug3289.test
 * libs/phoenix/test/dynamic_tests.test
 * libs/phoenix/test/exceptions.test
 * libs/phoenix/test/if_tests.test
 * libs/phoenix/test/lambda_tests.test
 * libs/phoenix/test/loops_tests.test
 * libs/phoenix/test/member.test
 * libs/phoenix/test/new_delete_tests.test
 * libs/phoenix/test/switch_tests.test

 You can see the error messages at
 http://www.boost.org/development/tests/trunk/developer/phoenix.html
 (`clang-cxx11-r156741` test runner).

 Also, some tests of Boost.Spirit fail to compile due to the dependency on
 Boost.Phoenix:
 * libs/spirit/test/lex_regression_file_iterator3-p3.test

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5687#comment:12>
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:09 UTC