cpp/named req/OutputIterator
From cppreference.com
Template:cpp/concept/title Template:cpp/concept/sidebar
An Iterator that can access the pointed element for writing.
A class implementing this concept is std::ostream_iterator.
Requirements
Expression | Return | Equivalent expression | Notes |
---|---|---|---|
*i = o | it may not be possible to write twice in the same iterator | ||
++i | It& | After this, copies of a may be invalidated.Post: &r == &++r | |
i++ | const It& | It temp = i; ++i; |
|
*i++ = o | *i = o; ++i; |