Boost logo

Boost Users :

From: Bertolt Mildner (Bertolt.Mildner_at_[hidden])
Date: 2005-06-22 22:54:52


"Peter Dimov" <pdimov_at_[hidden]> schrieb im Newsbeitrag
news:000c01c57782$32d4ae20$6401a8c0_at_pdimov2...
> > but something like
> >
> > Functor f(boost::bind<Ret>(&Foo, _1, &CreateArg2);
> >
> > so that f(arg1) = Foo(arg1, CreateArg2());
>
> bind( Foo, _1, bind( CreateArg2 ) ).

Ha, it is realy obvious!
Now i'm also able to find it in the docu :))

Thanks a lot!

Bertolt


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net