Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2003-08-14 00:23:10


Arithmetic traits can be found in ublas. Just look for promote_traits in
the ublas headers.

> > I'm thinking that it would be useful to implement a traits
> class that
> > would
> > give the return type of mixed scalar-complex arithmetic
> operations. This
> > would allow one to write generic algorithms that operate on
> both scalar and
> > complex types, inferring the return type.
>
> > Any opinions?


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