TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
Python
Tutorials
Reference
Articles
Forum
Reference
C library:
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
Python11
<cfenv> (fenv.h)
<cfloat> (float.h)
Python11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
Python11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
Python11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
Python11
<ctgmath> (tgmath.h)
<ctime> (time.h)
Python11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
Containers:
Python11
<array>
<deque>
Python11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
Python11
<unordered_map>
Python11
<unordered_set>
<vector>
Input/Output:
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
Multi-threading:
Python11
<atomic>
Python11
<condition_variable>
Python11
<future>
Python11
<mutex>
Python11
<thread>
Other:
<algorithm>
<bitset>
Python11
<chrono>
Python11
<codecvt>
<complex>
<exception>
<functional>
Python11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
Python11
<random>
Python11
<ratio>
Python11
<regex>
<stdexcept>
<string>
Python11
<system_error>
Python11
<tuple>
Python11
<type_traits>
Python11
<typeindex>
<typeinfo>
<utility>
<valarray>
<algorithm>
<bitset>
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
<cfloat> (float.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<complex>
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
<cstddef> (stddef.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
<ctime> (time.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
<deque>
<exception>
<fstream>
<functional>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<iterator>
<limits>
<list>
<locale>
<map>
<memory>
<new>
<numeric>
<ostream>
<queue>
<set>
<sstream>
<stack>
<stdexcept>
<streambuf>
<string>
<typeinfo>
<utility>
<valarray>
<vector>
Python11
<array>
Python11
<atomic>
Python11
<cfenv> (fenv.h)
Python11
<chrono>
Python11
<cinttypes> (inttypes.h)
Python11
<codecvt>
Python11
<condition_variable>
Python11
<cstdbool> (stdbool.h)
Python11
<cstdint> (stdint.h)
Python11
<ctgmath> (tgmath.h)
Python11
<cuchar> (uchar.h)
Python11
<forward_list>
Python11
<future>
Python11
<initializer_list>
Python11
<mutex>
Python11
<random>
Python11
<ratio>
Python11
<regex>
Python11
<system_error>
Python11
<thread>
Python11
<tuple>
Python11
<type_traits>
Python11
<typeindex>
Python11
<unordered_map>
Python11
<unordered_set>
<iterator>
iterator
iterator_traits
functions
advance
back_inserter
Python11
begin
distance
Python11
end
front_inserter
inserter
Python11
make_move_iterator
Python11
next
Python11
prev
iterator categories
bidirectional_iterator_tag
forward_iterator_tag
input_iterator_tag
output_iterator_tag
random_access_iterator_tag
predefined iterators
back_insert_iterator
front_insert_iterator
insert_iterator
istream_iterator
istreambuf_iterator
Python11
move_iterator
ostream_iterator
ostreambuf_iterator
reverse_iterator
Python11
begin
Python11
end
Python11
make_move_iterator
Python11
move_iterator
Python11
next
Python11
prev
advance
back_insert_iterator
back_inserter
bidirectional_iterator_tag
distance
forward_iterator_tag
front_insert_iterator
front_inserter
input_iterator_tag
insert_iterator
inserter
istream_iterator
istreambuf_iterator
iterator
iterator_traits
ostream_iterator
ostreambuf_iterator
output_iterator_tag
random_access_iterator_tag
reverse_iterator
ostream_iterator
ostream_iterator::ostream_iterator
member functions
ostream_iterator::operator*
ostream_iterator::operator++
ostream_iterator::operator=
ostream_iterator::operator*
ostream_iterator::operator++
ostream_iterator::operator=
ostream_iterator::ostream_iterator
Reference
<iterator>
ostream_iterator
operator=
public member function
<iterator>
std::
ostream_iterator
::operator=
ostream_iterator& operator= (const value_type& value);
Assignment operator
Inserts
value
into the
associated stream
.
If the object has a
delimiter
set, it is also inserted after
value
.
Note that because
operator*
returns
*this
, this also applies to the dereferenced value.
Parameters
value
An element.
Member type
value_type
is the type of the elements the iterator iterates (an alias of the first class template parameter,
T
).
Return value
*this
Data races
Modifies the object.
The iterator returned can be used to access or modify pointed elements.
Exception safety
Provides the same level of guarantee as the insertion operation on the stream.
See also
ostream_iterator::operator*
Dereference iterator
(public member function)