Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-11-07 02:06:42


John Maddock writes:
>> The upside (in addition to supporting legacy compilers) is that you
>> can do this:
>>
>> void f( int ); // #1
>> void f( int, int ); // #2
>>
>> int main()
>> {
>> boost::bind( f, 1 ); // chooses #1
>> boost::bind( f, 1, 2 ); // chooses #2
>> }
>
> Ah, that's neat.

I actually consider this to be a vital usability feature. It would be
an unpleasant surprise if it's not going to make it into comforming
TR1 implementations. Or did I misunderstand your earlier comment?

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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