std::ios_base::operator=

The copy assignment operator is private(until C++11)deleted(since C++11): streams are not copy-assignable.

# Declarations

private:
ios_base& operator=( const ios_base& );

(until C++11)

public:
ios_base& operator=( const ios_base& ) = delete;

(since C++11)

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 50C++98the copy assignment operator was not specifiedspecified as private