Boost logo

Boost Users :

Subject: Re: [Boost-users] [lambda] Boost.Bind works, labmda bind fails to compile
From: Igor R (boost.lists_at_[hidden])
Date: 2009-12-30 09:48:37

>       boost::phoenix::bind(&Functor::func<Functor>, &f, f); // Does this compile?

No it doesn't, with errors very similar to those of lambda:
error C2780: 'boost::phoenix::actor<as_composite<boost::phoenix::detail::function_eval<9>,boost::phoenix::detail::function_ptr<9,RT,RT(__cdecl
boost::phoenix::bind(RT (__cdecl *)(T0,T1,T2,T3,T4,T5,T6,T7,T8),const
A0 &,const A1 &,const A2 &,const A3 &,const A4 &,const A5 &,const A6
&,const A7 &,const A8 &)' : expects 10 arguments - 3 provided

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at