[Boost-bugs] [Boost C++ Libraries] #7566: invalid use of std::forward when compiling with std=c++0x

Subject: [Boost-bugs] [Boost C++ Libraries] #7566: invalid use of std::forward when compiling with std=c++0x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-24 20:38:13


#7566: invalid use of std::forward when compiling with std=c++0x
-------------------------------------+--------------------------------------
 Reporter: viboes | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+--------------------------------------
 {{{
 clang-darwin.compile.c++ ../../../bin.v2/libs/test/build/clang-
 darwin-3.0x/debug/link-static/threading-multi/exception_safety.o
 In file included from ../../../libs/test/src/exception_safety.cpp:16:
 In file included from ../../../boost/test/impl/exception_safety.ipp:30:
 In file included from ../../../boost/test/test_tools.hpp:328:
 In file included from ../../../boost/test/tools/impl.hpp:25:
 ../../../boost/test/tools/assertion.hpp:279:21: error: no member named
 'forward' in namespace 'std'
     : m_value( std::forward<T>(val) )
                ~~~~~^
 ../../../boost/test/tools/assertion.hpp:279:29: error: 'T' does not refer
 to a value
     : m_value( std::forward<T>(val) )
                             ^
 ../../../boost/test/tools/assertion.hpp:270:19: note: declared here
 template<typename T>

 }}}

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