|
Adobe Source Libraries 2.0.0
A collection of C++ libraries.
|
Functions | |
| template<class ForwardIterator, class T> | |
| T | iota (ForwardIterator first, ForwardIterator last, const T &value) |
| iota implementation | |
| template<class ForwardRange, class T> | |
| T | iota (ForwardRange &range, const T &value) |
| iota implementation | |
iota assigns sequentially increasing values to a range. That is, it assigns value to *first, value + 1 to *(first + 1) and so on. In general, each iterator i in the range [first, last) is assigned value + (i - first).
ForwardIterator is mutable.T is Assignable.x is an object of type T, then ++x is defined.T is convertible to ForwardIterator::value_type[first, last) is a valid range.last - first assignments. | T iota | ( | ForwardIterator | first, |
| ForwardIterator | last, | ||
| const T & | value ) |