From: Daniel Frey (d.frey_at_[hidden])
Date: 2005-04-16 13:53:57
Sascha Seewald wrote:
> i wonder if it would be possible to support lazy evaluation in
> we could provide "lazy" operator class templates and combine them with the
> "normal" operator class templates.
> class point
> : boost::addable< point<T> // point + point (normal)
> , boost::subtractable< point<T> // point - point (normal)
> , boost::lazy_dividable2< point<T>, T // point / T (lazy)
> , boost::lazy_multipliable2< point<T>, T // point * T, T * point (lazy)
> > > > >
> what do you think?
I think I don't really understand what you are proposing. Can you
provide a use case (preferably small but complete example) what exactly
a lazy operator should do and why we need it?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk