Transform is an overloaded name; there are actually two transform functions.Prototype
template
OutputIterator transform(InputIterator first, InputIterator last, OutputIterator result, UnaryFunction op);
template
OutputIterator transform(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, OutputIterator result, BinaryFunction binary_op);