1.2 KiB
1.2 KiB
[ios.base.cons]
31 Input/output library [input.output]
31.5 Iostreams base classes [iostreams.base]
31.5.2 Class ios_base [ios.base]
31.5.2.8 Constructors and destructor [ios.base.cons]
ios_base();
Effects: Eachios_base member has an indeterminate value after construction.
The object's members shall be initialized by callingbasic_ios::init before the object's first use or before it is destroyed, whichever comes first; otherwise the behavior is undefined.
~ios_base();
Effects: Calls each registered callback pair(fn, idx) ([ios.base.callback]) as(*fn)(erase_event, *this, idx) at such time that anyios_base member function called from withinfn has well-defined results.
Then, any memory obtained is deallocated.