Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-09-19 08:31:01


Doug,

Could you please take a look at this one (from http://tinyurl.com/7yyu5):
    
    "C:\MinGW341\bin\g++" -c -Wall -ftemplate-depth-255 -g -O0 -fno-inline -mno-cygwin -I"C:\MinGW\Bronek\boost\results\bin\boost\libs\function\test" -I "C:\MinGW\Bronek\boost\boost" -o "C:\MinGW\Bronek\boost\results\bin\boost\libs\function\test\lambda_test.test\mingw-3.4.1\debug\lambda_test.obj" "C:\MinGW\Bronek\boost\boost\libs/function/test/lambda_test.cpp"
    

C:\MinGW\Bronek\boost\boost\libs/function/test/lambda_test.cpp: In function `int test_main(int, char**)':
C:\MinGW\Bronek\boost\boost\libs/function/test/lambda_test.cpp:30: error: call of overloaded `bind(unsigned int (&)(int, bool, double), int, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >&)' is ambiguous
C:/MinGW/Bronek/boost/boost/boost/lambda/detail/bind_functions.hpp:500: note: candidates are: const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<4, boost::lambda::function_action<4, T> >, typename boost::lambda::detail::bind_tuple_mapper<Result (&)(Par1, Par2, Par3), const Arg2, const Arg3, const Arg4, 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, Par2, Par3), const Arg2&, const Arg3&, const Arg4&) [with Result = unsigned int, Par1 = int, Par2 = bool, Par3 = double, Arg2 = int, Arg3 = boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, Arg4 = boost::lambda::lambda_functor<boost::lambda::placeholder<2> >]
C:/MinGW/Bronek/boost/boost/boost/lambda/detail/bind_functions.hpp:528: note: const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<4, boost::lambda::function_action<4, boost::lambda::detail::unspecified> >, typename boost::lambda::detail::bind_tuple_mapper<const Arg1, const Arg2, const Arg3, const Arg4, 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&, const Arg3&, const Arg4&) [with Arg1 = unsigned int ()(int, bool, double), Arg2 = int, Arg3 = boost::lambda::lambda_functor<boost::lambda::placeholder<1> >, Arg4 = boost::lambda::lambda_functor<boost::lambda::placeholder<2> >]

?

-- 
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