Standard C++ Library Class Reference
Click on the banner to return to the Class Reference home page.
©Copyright 1996 Rogue Wave Software
transform
Algorithm
Summary
Applies an operation to a range of values in a collection and stores the result.
Contents
Synopsis●
Description●
Complexity●
Example●
Warning●
Synopsis
#include <algorithm>
template <class InputIterator,
class OutputIterator,
class UnaryOperation>
OutputIterator transform (InputIterator first,
InputIterator last,
OutputIterator result,
UnaryOperation op);
template <class InputIterator1,
class InputIterator2,
class OutputIterator,
class BinaryOperation>
OutputIterator transform (InputIterator1 first1,
InputIterator1 last1,