Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-08-18 20:00:27


"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:002301c4857d$234e3270$0600a8c0_at_pdimov...
> Jonathan Turkanis wrote:
> > "Peter Dimov" <pdimov_at_[hidden]> wrote in message
> > news:000e01c48579$69233ab0$0600a8c0_at_pdimov...
> >> Jonathan Turkanis wrote:
> >>>
> >>> For overload resolution by arity one could write:
> >>>
> >>> boost::overload< by_arity<3> >::resolve(&C::g)
> >>>
> >>> but that's still a bit cumbersome.
> >
> >> int main()
> >> {
> >> boost::bind( &V::f, _1 ); // V::f()
> >> boost::bind( &V::f, _1, _2 ); // V::f(int)
> >> }
> >>
> >> ;-)
> >
> > Yes, naturally. ;-)
>
> Did you know that it already works? ;-)

Yes, naturally. ;-)

Jonathan


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