|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-08-18 18:43:16
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? ;-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk