Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-01-03 13:17:50


There is also an expression template library named PETE from Los
Alamos Nat. Labs that is quite good. I used it as a starting point for
doing expression templates with MTL.

http://www.acl.lanl.gov/software/pete_.html

Martin Weiser writes:
> "dave abrahams" <abraham-_at_[hidden]> wrote:
> original article:http://www.egroups.com/group/boost/?start=1516
> > In article <gpfn6sgbrpa0u72nam04to424gu91rt5c0_at_[hidden]> , Herb Sutter
> > <hsutter_at_[hidden]> wrote in a post to comp.lang.c++.moderated:
> >
> > > Option 3: Write for_each with expression templates (1 line, plus no
> > > recalculation of container.end() and no need to remember to write
> ++i,
> > > plus x doesn't need to be an int, plus maybe other benefits...)
> > >
> > > std::for_each( container.begin(), container.end(), Elem() += x );
> >
> > Of COURSE! I should have seen this before! Now somebody should write a
> > little expression template library for boost. This obviously fits our
> > charter (I think)!
>
> Perhaps you should contact Gary Powell before starting an ET library
> for this kind of task. He implemented such a library together with
> Peter Higley and submitted a paper about this library to C++Report.
>
> You can reach him at gary.powell_at_sierra.com.
>
> Martin


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