Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-03-09 15:29:21


Christian Henning wrote:

> bind( static_cast<void(*)(string&, a )>( &foo ), ( ref( str ), a() ));

The (x, y) expression returns y. In your case (ref(str), a()) is equivalent
to just a().


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net