Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-19 23:13:51


Jaakko,

Could you please take a look/comment on the following failure in
"bind_tests_simple_f_refs" (from http://tinyurl.com/52xlg):

   "C:\MinGW341\bin\g++" -c -Wall -ftemplate-depth-255 -g -O0 -fno-inline -mno-cygwin -I"C:\MinGW\Bronek\boost\results\bin\boost\status" -I "C:\MinGW\Bronek\boost\boost" -o "C:\MinGW\Bronek\boost\results\bin\boost\status\bind_tests_simple_f_refs.test\mingw-3.4.1\debug\bind_tests_simple_f_refs.obj" "C:\MinGW\Bronek\boost\boost\libs/lambda/test/bind_tests_simple_f_refs.cpp"
    

C:\MinGW\Bronek\boost\boost\libs/lambda/test/bind_tests_simple_f_refs.cpp: In function `int test_main(int, char**)':
C:\MinGW\Bronek\boost\boost\libs/lambda/test/bind_tests_simple_f_refs.cpp:69: error: call of overloaded `bind(int (&)())' is ambiguous
C:/MinGW/Bronek/boost/boost/boost/lambda/detail/bind_functions.hpp:48: note: candidates are: const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<1, boost::lambda::function_action<1, T> >, typename boost::lambda::detail::bind_tuple_mapper<Result (&)(), boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>::type> > boost::lambda::bind(Result (&)()) [with Result = int]
C:/MinGW/Bronek/boost/boost/boost/lambda/detail/bind_functions.hpp:70: note: const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<1, boost::lambda::function_action<1, boost::lambda::detail::unspecified> >, typename boost::lambda::detail::bind_tuple_mapper<const Arg1, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>::type> > boost::lambda::bind(const Arg1&) [with Arg1 = int ()()]
C:\MinGW\Bronek\boost\boost\libs/lambda/test/bind_tests_simple_f_refs.cpp:70: error: call of overloaded `bind(int (&)(int), int)' is ambiguous
C:/MinGW/Bronek/boost/boost/boost/lambda/detail/bind_functions.hpp:188: note: candidates are: const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<2, boost::lambda::function_action<2, T> >, typename boost::lambda::detail::bind_tuple_mapper<Result (&)(Par1), const Arg2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>::type> > boost::lambda::bind(Result (&)(Par1), const Arg2&) [with Result = int, Par1 = int, Arg2 = int]
C:/MinGW/Bronek/boost/boost/boost/lambda/detail/bind_functions.hpp:210: note: const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<2, boost::lambda::function_action<2, boost::lambda::detail::unspecified> >, typename boost::lambda::detail::bind_tuple_mapper<const Arg1, const Arg2, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>::type> > boost::lambda::bind(const Arg1&, const Arg2&) [with Arg1 = int ()(int), Arg2 = int]
[...]

?

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk