[Boost-bugs] [Boost C++ Libraries] #6420: Call to forward ambiguous

Subject: [Boost-bugs] [Boost C++ Libraries] #6420: Call to forward ambiguous
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-17 17:43:32


#6420: Call to forward ambiguous
-------------------------------------+--------------------------------------
 Reporter: viboes | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost Development Trunk | Severity: Problem
 Keywords: 1.49 |
-------------------------------------+--------------------------------------
 {{{
 Test output: Sandia-darwin-4.4_0x - thread - test_thread_launching /
 darwin-4.4_0x
 Rev 76549 / Tue, 17 Jan 2012 11:21:19 +0000
 Report Time: Tue, 17 Jan 2012 15:54:48 +0000

 Compile [2012-01-17 12:21:24 UTC]: fail

     "/opt/local/bin/g++-mp-4.4" -ftemplate-depth-128 -std=gnu++0x -O0
 -fno-inline -Wall -g -dynamic -gdwarf-2 -fexceptions -fPIC
 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1
 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_TEST_NO_AUTO_LINK=1
 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1
 -I".." -c -o
 "/Volumes/scratch/kbelco/boost/results/boost/bin.v2/libs/thread/test/test_thread_launching.test/darwin-4.4_0x/debug
 /threading-multi/test_thread_launching.o"
 "../libs/thread/test/test_thread_launching.cpp"

 In file included from ../boost/thread/thread.hpp:22,
                  from ../libs/thread/test/test_thread_launching.cpp:5:
 ../boost/thread/detail/thread.hpp: In static member function 'static
 boost::detail::thread_data_ptr boost::thread::make_thread_info(F&&) [with
 F = boost::_bi::bind_t<void, callable_multiple_arg,
 boost::_bi::list3<boost::_bi::value<const char*>,
 boost::_bi::value<std::vector<int, std::allocator<int> > >,
 boost::_bi::value<double> > >]':
 ../boost/thread/detail/thread.hpp:439: instantiated from
 'boost::thread::thread(F, A1, A2, A3) [with F = callable_multiple_arg, A1
 = const char*, A2 = std::vector<int, std::allocator<int> >, A3 = double]'
 ../libs/thread/test/test_thread_launching.cpp:149: instantiated from
 here
 ../boost/thread/detail/thread.hpp:187: error: call of overloaded
 'forward(boost::_bi::bind_t<void, callable_multiple_arg,
 boost::_bi::list3<boost::_bi::value<const char*>,
 boost::_bi::value<std::vector<int, std::allocator<int> > >,
 boost::_bi::value<double> > >&)' is ambiguous
 ../boost/move/move.hpp:523: note: candidates are: T&&
 boost::forward(typename boost::move_detail::identity<T>::type&&) [with T =
 boost::_bi::bind_t<void, callable_multiple_arg,
 boost::_bi::list3<boost::_bi::value<const char*>,
 boost::_bi::value<std::vector<int, std::allocator<int> > >,
 boost::_bi::value<double> > >]
 /opt/local/include/gcc44/c++/bits/move.h:51: note: _Tp&&
 std::forward(typename std::identity<_Tp>::type&&) [with _Tp =
 boost::_bi::bind_t<void, callable_multiple_arg,
 boost::_bi::list3<boost::_bi::value<const char*>,
 boost::_bi::value<std::vector<int, std::allocator<int> > >,
 boost::_bi::value<double> > >]

 }}}

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