
14 Apr
2005
14 Apr
'05
10:04 p.m.
i wonder if it would be possible to support lazy evaluation in boost::operators. we could provide "lazy" operator class templates and combine them with the "normal" operator class templates. example: 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? sascha -- +++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++ GMX Garantie: Surfen ohne Tempo-Limit! http://www.gmx.net/de/go/dsl