
12 Feb
2005
12 Feb
'05
1:29 a.m.
"Hartmut Kaiser" <HartmutKaiser@t-online.de> writes:
Transform_iterator _is_ part of boost already, the difference is, that wave uses a slightly different version (for performance reasons the version contained in Wave returns the transformed value by reference - I don't know, whether this is commonly possible - in Wave it is used to flatten a parse tree). That's the reason, why it is named ref_transform_iterator.
The boost::transform_iterator also returns by reference, if you set it up right. No need for code duplication. -- Dave Abrahams Boost Consulting www.boost-consulting.com