[Boost-bugs] [Boost C++ Libraries] #6345: std::forward not available when compiling with clang 3.0 c++0x

Subject: [Boost-bugs] [Boost C++ Libraries] #6345: std::forward not available when compiling with clang 3.0 c++0x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-02 17:53:48


#6345: std::forward not available when compiling with clang 3.0 c++0x
--------------------------+-------------------------------------------------
 Reporter: viboes | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.49.0 | Component: test
  Version: Boost 1.48.0 | Severity: Showstopper
 Keywords: |
--------------------------+-------------------------------------------------
 Recent modification on Boost.Test make it unusable with clang 3.0 c++0x
 due to std::forward missing or not found.

 {{{
 clang-darwin.compile.c++ ../../../bin.v2/libs/thread/test/test_thread.test
 /clang-darwin-3.0x/debug/threading-multi/test_thread.o
 In file included from test_thread.cpp:16:
 In file included from ../../../boost/test/unit_test.hpp:19:
 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:278:21: error: no member named
 'forward' in namespace 'std'
     : m_value( std::forward<T>(val) )
                ~~~~~^
 ../../../boost/test/tools/assertion.hpp:278:29: error: 'T' does not refer
 to a value
     : m_value( std::forward<T>(val) )
                             ^

 }}}

 This has as consequence that the authors developing mainly with this
 compiler and using Boost.Test to be unable to deliver new modifications.

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