Boost logo

Boost :

Subject: Re: [boost] [Bind] Function arithmetic (sample impl inside)
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-04-12 06:11:07


ivan.lelann_at_[hidden] a écrit :
> Hi,
>
> It's my first message here, so please excuse possible mistakes.
>
> I found that Boost.Bind offers logical operators but no arithmetical operators.
> Looking into boost/bind/bind.hpp, and using "logical_not" impl,
> I wrote the following naive patch against version 1.40.
> It is certainly not as robust as Boost exspects, it is quickly tested,
> but it seems to do the job, as you can see in the test.

That kind of functionality is already provided by Boost.Lambda or
Boost.Phoenix.


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