tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename InputIt, typename OutputIt, typename UnaryOp> | |
constexpr auto | transform (InputIt first, InputIt last, OutputIt dest, UnaryOp op) -> OutputIt |
Applies the given function to a range and stores the result in another range, beginning at dest. The unary operation op is applied to the range defined by [first, last) . | |
template<typename InputIt1, typename InputIt2, typename OutputIt, typename BinaryOp> | |
constexpr auto | transform (InputIt1 first1, InputIt1 last1, InputIt2 first2, OutputIt dest, BinaryOp op) -> OutputIt |
Applies the given function to a range and stores the result in another range, beginning at dest. The unary operation op is applied to the range defined by [first, last) . | |