[Boost-bugs] [Boost C++ Libraries] #7087: std::forward or std::move missing in Boost.Test on Darwin Clang

Subject: [Boost-bugs] [Boost C++ Libraries] #7087: std::forward or std::move missing in Boost.Test on Darwin Clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-05 16:21:18


#7087: std::forward or std::move missing in Boost.Test on Darwin Clang
-------------------------------------+--------------------------------------
 Reporter: pbristow | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost Development Trunk | Severity: Problem
 Keywords: test std::move |
-------------------------------------+--------------------------------------
 Sandia-darwin-clang compiler in

 ../boost/test/tools/assertion.hpp

 seems to be missing something for several Boost.math tests, for example:

 Sandia-darwin-clang-trunk-c++11 - math - hypot_test / clang-darwin-trunk

 http://www.boost.org/development/tests/trunk/developer/output/Sandia-
 darwin-clang-trunk-c++11-boost-bin-v2-libs-math-test-hypot_test-test-
 clang-darwin-trunk-debug-link-static.html

 http://tinyurl.com/7q8ltjg

 ../boost/test/tools/assertion.hpp:278:29: error: 'T' does not refer to a
 value
     : m_value( std::forward<T>(val) )
                             ^
 ../boost/test/tools/assertion.hpp:269:19: note: declared here
 template<typename T>
                   ^
 ../boost/test/tools/assertion.hpp:386:36: error: no member named 'forward'
 in namespace 'std'
         return value_expr<T>( std::forward<T>( v ) );

 Could be a missing #include, or else the compiler has rvalue refs but no
 std::move/forward?

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