public member function
<ios> <iostream>

std::ios_base::ios_base

protected: ios_base();
  private: ios_base (const ios_base&);
protected: ios_base();
ios_base (const ios_base&) = delete;
Construct object
ios_base objects have indeterminate values on construction. Each ios_base base object shall be initialized by calling basic_ios::init.

The class is meant to be a base class, and thus has no public constructors, preventing objects of this class to be constructed -- only objects of derived classes can be constructed.

ios_base also declares a copy assignment member function. Like the copy constructor, this function is also private:

1
2
3
private:
  ios_base (const ios_base&);
  ios_base& operator= (const ios_base&);

ios_base also deletes its copy assignment member function. Like the copy constructor, this function is also deleted:

1
2
  ios_base (const ios_base&) = delete;
  ios_base& operator= (const ios_base&) = delete;


Exception safety

Strong guarantee: if an exception is thrown, there are no side effects.