$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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? ;-)