Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-11-04 13:30:15


On Monday 04 November 2002 11:19 am, Michael Hohmuth wrote:
> The following patch (in attachment 1) adds a "struct sig" to Boost's
> function<> template, allowing it to be used in bind expressions like
> this:
>
> function <unsigned(bool, double)> f1 = bind (func_impl, 15, _1, _2);
> function <unsigned(double)> f2 = bind (f1, false, _1);
> function <unsigned()> f3 = bind (f2, 4.0);
>
> (A full test program is in attachment 2.)

Thank you! It's now in CVS, along with your testcase, and it'll be in the next
Boost release.

        Doug


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