Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2000-05-26 21:21:29


> Here is a class that does just that. It simply takes a binary predicate and
> exchanges the order of the parameters. Please tell me what you think.

I think this is useful and nicely done.

Is it possible, using traits, to make an implementation that would work with
a function and not just a function object? If so, that's a useful
improvement.

Other minor comments:
    I'm not sure what value the default constructor has.
    No need for a semicolon after {} in the constructor definitions.

    -- Darin

PS: Sorry I haven't been contributing as much lately. My project at Eazel
precludes C++ programming for the moment.


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