Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
IOstream Library
manipulators
classes:
filebuf
fstream
ifstream
ios
iostream
ios_base
istream
istringstream
ofstream
ostream
ostringstream
streambuf
stringbuf
stringstream
objects:
cerr
cin
clog
cout
types:
fpos
streamoff
streampos
streamsize
ios_base
ios_base::ios_base
ios_base::~ios_base
member classes:
ios_base::failure
ios_base::Init
member functions:
ios_base::flags
ios_base::getloc
ios_base::imbue
ios_base::iword
ios_base::precision
ios_base::pword
ios_base::register_callback
ios_base::setf
ios_base::sync_with_stdio
ios_base::unsetf
ios_base::width
ios_base::xalloc
member types:
ios_base::event
ios_base::event_callback
ios_base::fmtflags
ios_base::iostate
ios_base::openmode
ios_base::seekdir


ios_base::ios_base

constructor member
protected: ios_base ();
  private: ios_base (const ios_base&);

Construct object

ios_base objects have indeterminate values on construction. Each ios_base base object shall be initialized with ios::init.

Because the constructors are protected and private, this class cannot be directly instantiated: only objects of derived classes can be created.

ios_base also declares an assignment operator 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&);


This effectively also prevents ios_base objects to be copied.