[Boost-bugs] [Boost C++ Libraries] #5687: phoenix::construct does not work with BOOST_RESULT_OF_USE_DECLTYPE

Subject: [Boost-bugs] [Boost C++ Libraries] #5687: phoenix::construct does not work with BOOST_RESULT_OF_USE_DECLTYPE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-12 11:45:37


#5687: phoenix::construct does not work with BOOST_RESULT_OF_USE_DECLTYPE
------------------------------------------------+---------------------------
 Reporter: Michel MORIN <mimomorin@…> | Owner: theller
     Type: Bugs | Status: new
Milestone: Boost 1.48.0 | Component: phoenix
  Version: Boost Development Trunk | Severity: Problem
 Keywords: C++0x |
------------------------------------------------+---------------------------
 Codes using `phoenix::construct` fail to compile in C++0x with
 `BOOST_RESULT_OF_USE_DECLTYPE` (Tested on gcc 4.6.1 and clang TOT).
 Here is a minimal test code:
 {{{
 #define BOOST_RESULT_OF_USE_DECLTYPE

 #include <boost/phoenix/core.hpp>
 #include <boost/phoenix/object/construct.hpp>

 int main (int argc, char* argv[])
 {
     boost::phoenix::construct<int>()();

     return 0;
 }
 }}}
 Also, you can get the compile error by compiling
 `libs/phoenix/test/object/new_delete_tests.cpp` with
 `BOOST_RESULT_OF_USE_DECLTYPE`.

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