Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-11-06 05:45:40


> 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.

John.


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