June 2007
Intermediate to advanced
624 pages
15h 14m
English
You can tell a Yorkshireman, but you can’t tell him much. | ||
| --(Uncle) Michael Gibbs | ||
I originally wanted to give the transform_iterator creator function the name transform(), which the standard library already uses for its transforming algorithm overloads. Having these two different facilities share the same name should work because they’re in separate namespaces. Further, even when both are brought into the same namespace via a using-declaration, there’s no clash because the standard algorithm overloads have four and five parameters, and the transform_iterator creator function has only two.
#include <stlsoft/iterators/transform_iterator.hpp> #include <algorithm> using ...
Read now
Unlock full access