1 2 3 4 5 6 7 8 9 10 11
| c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/bind/mem_fn_template.hpp: In instantiation of 'R boost::_mfi::mf2<R, T, A1, A2>::call(U&, const void*, B1&, B2&) const [with U = CarreXYMecanism<int, double, char>*; B1 = double; B2 = char; R = int; T = Function<int, double, char>; A1 = double; A2 = char]':
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/bind/mem_fn_template.hpp:286:46: required from 'R boost::_mfi::mf2<R, T, A1, A2>::operator()(U&, A1, A2) const [with U = CarreXYMecanism<int, double, char>*; R = int; T = Function<int, double, char>; A1 = double; A2 = char]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/bind/bind.hpp:382:98: required from 'R boost::_bi::list3<A1, A2, A3>::operator()(boost::_bi::type<R>, F&, A&, long int) [with R = int; F = boost::_mfi::mf2<int, Function<int, double, char>, double, char>; A = boost::_bi::list2<double&, char&>; A1 = boost::_bi::value<CarreXYMecanism<int, double, char>*>; A2 = boost::arg<1>; A3 = boost::arg<2>]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/bind/bind_template.hpp:61:59: required from 'boost::_bi::bind_t<R, F, L>::result_type boost::_bi::bind_t<R, F, L>::operator()(A1&, A2&) [with A1 = double; A2 = char; R = int; F = boost::_mfi::mf2<int, Function<int, double, char>, double, char>; L = boost::_bi::list3<boost::_bi::value<CarreXYMecanism<int, double, char>*>, boost::arg<1>, boost::arg<2> >; boost::_bi::bind_t<R, F, L>::result_type = int]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/function/function_template.hpp:132:42: required from 'static R boost::detail::function::function_obj_invoker2<FunctionObj, R, T0, T1>::invoke(boost::detail::function::function_buffer&, T0, T1) [with FunctionObj = boost::_bi::bind_t<int, boost::_mfi::mf2<int, Function<int, double, char>, double, char>, boost::_bi::list3<boost::_bi::value<CarreXYMecanism<int, double, char>*>, boost::arg<1>, boost::arg<2> > >; R = int; T0 = double; T1 = char]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/function/function_template.hpp:913:60: required from 'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = boost::_bi::bind_t<int, boost::_mfi::mf2<int, Function<int, double, char>, double, char>, boost::_bi::list3<boost::_bi::value<CarreXYMecanism<int, double, char>*>, boost::arg<1>, boost::arg<2> > >; R = int; T0 = double; T1 = char]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/function/function_template.hpp:722:7: required from 'boost::function2<R, T1, T2>::function2(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::_bi::bind_t<int, boost::_mfi::mf2<int, Function<int, double, char>, double, char>, boost::_bi::list3<boost::_bi::value<CarreXYMecanism<int, double, char>*>, boost::arg<1>, boost::arg<2> > >; R = int; T0 = double; T1 = char; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/function/function_template.hpp:1064:16: required from 'boost::function<R(T0, T1)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::_bi::bind_t<int, boost::_mfi::mf2<int, Function<int, double, char>, double, char>, boost::_bi::list3<boost::_bi::value<CarreXYMecanism<int, double, char>*>, boost::arg<1>, boost::arg<2> > >; R = int; T0 = double; T1 = char; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]'
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/function/function_template.hpp:1105:5: required from 'typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, boost::function<R(T0, T1)>&>::type boost::function<R(T0, T1)>::operator=(Functor) [with Functor = boost::_bi::bind_t<int, boost::_mfi::mf2<int, Function<int, double, char>, double, char>, boost::_bi::list3<boost::_bi::value<CarreXYMecanism<int, double, char>*>, boost::arg<1>, boost::arg<2> > >; R = int; T0 = double; T1 = char; typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, boost::function<R(T0, T1)>&>::type = boost::function<int(double, char)>&]'
D:\mes documents\SFML\SoundTemplateVariadic\main.cpp:57:70: required from here
c:\mingw_\mingw\bin\../lib/gcc/mingw32/4.7.0/../../../../include/boost/bind/mem_fn_template.hpp:271:57: error: pointer to member type 'int (Function<int, double, char>::)(double, char)' incompatible with object type 'CarreXYMecanism<int, double, char>' |
Partager