Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-01-29 15:56:36


on 1/29/00 3:15 PM, Valentin Bonnard at Bonnard.V_at_[hidden] wrote:

>> Basically, the idea is to overload all the typical operators
>> (+, -, <, ==) for functor objects, and use Nico's composition
>> library as the nodes in the expression tree. It's really not
>> all that hard to do...
>
> How it is possible at all w/o typeof, which no compiler (not even
> gcc) supports ?
>
> (and even then (w/ typeof) it would be ugly)

I did some thinking, and I think you could do it with traits. Preparing
types for use in operations isn't pretty, but the resulting usage would be
;)


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