std::basic_iostream<CharT,Traits>::operator= (3) - Linux Manuals
std::basic_iostream<CharT,Traits>::operator=: std::basic_iostream<CharT,Traits>::operator=
Command to display std::basic_iostream<CharT,Traits>::operator=
manual in Linux: $ man 3 std::basic_iostream<CharT,Traits>::operator=
NAME
std::basic_iostream<CharT,Traits>::operator= - std::basic_iostream<CharT,Traits>::operator=
Synopsis
basic_iostream& operator=( const basic_iostream& other ) = delete; (1)
protected: (2) (since C++11)
basic_iostream& operator=( basic_iostream&& other );
Assigns another stream object.
1) Copy assignment is not allowed.
2) Move assigns another stream object. Effectively calls swap(rhs). This move assignment operator is protected: it is called by the move assignment operators of the derived stream classes std::basic_stringstream and std::basic_fstream which know how to properly move-assign the associated stream buffers.
Parameters
other - another stream to assign state of
Return value
*this
See also
constructs the object
constructor (public member function)
Pages related to std::basic_iostream<CharT,Traits>::operator=
- std::basic_iostream<CharT,Traits>::basic_iostream (3) - std::basic_iostream<CharT,Traits>::basic_iostream
- std::basic_iostream<CharT,Traits>::swap (3) - std::basic_iostream<CharT,Traits>::swap
- std::basic_iostream<CharT,Traits>::~basic_iostream (3) - std::basic_iostream<CharT,Traits>::~basic_iostream
- std::basic_iostream (3) - std::basic_iostream
- std::basic_ios (3) - std::basic_ios
- std::basic_ios<CharT,Traits>::bad (3) - std::basic_ios<CharT,Traits>::bad
- std::basic_ios<CharT,Traits>::basic_ios (3) - std::basic_ios<CharT,Traits>::basic_ios
- std::basic_ios<CharT,Traits>::clear (3) - std::basic_ios<CharT,Traits>::clear
- std::basic_ios<CharT,Traits>::copyfmt (3) - std::basic_ios<CharT,Traits>::copyfmt
- std::basic_ios<CharT,Traits>::eof (3) - std::basic_ios<CharT,Traits>::eof
- std::basic_ios<CharT,Traits>::exceptions (3) - std::basic_ios<CharT,Traits>::exceptions
- std::basic_ios<CharT,Traits>::fail (3) - std::basic_ios<CharT,Traits>::fail
- std::basic_ios<CharT,Traits>::fill (3) - std::basic_ios<CharT,Traits>::fill
- std::basic_ios<CharT,Traits>::good (3) - std::basic_ios<CharT,Traits>::good
- std::basic_ios<CharT,Traits>::imbue (3) - std::basic_ios<CharT,Traits>::imbue
- std::basic_ios<CharT,Traits>::init (3) - std::basic_ios<CharT,Traits>::init
- std::basic_ios<CharT,Traits>::move (3) - std::basic_ios<CharT,Traits>::move
- std::basic_ios<CharT,Traits>::narrow (3) - std::basic_ios<CharT,Traits>::narrow