Standard C++ Library Reference ISO/IEC (VERSION3)

ios_base::operator=
ios_base& operator=(const ios_base& right);
The operator copies the stored formatting information, making a new copy of any extensible arrays. It
then returns *this. Note that the callback stack is not copied.
ios_base::precision
streamsize precision() const;
streamsize precision(streamsize newprecision);
The first member function returns the stored display precision. The second member function stores
newprecision in the display precision and returns its previous stored value.
ios_base::pword
void *& pword(int idx);
The member function returns a reference to element idx of the extensible array with elements of
type void pointer. All elements are effectively present and initially store the null pointer. The returned
reference is invalid after the next call to pword for the object, after the object is altered by a call to
basic_ios::copyfmt, or after the object is destroyed.
If idx is negative, or if unique storage is unavailable for the element, the function calls
setstate(badbit) and returns a reference that might not be unique.
To obtain a unique index, for use across all objects of type ios_base, call xalloc.
ios_base::register_callback
void register_callback(event_callback pfn, int idx);
The member function pushes the pair {pfn, idx} onto the stored callback stack. When a callback
event ev is reported, the functions are called, in reverse order of registry, by the expression
(*pfn)(ev, *this, idx).
ios_base::seekdir
typedef T4 seekdir;
static const seekdir beg, cur, end;
The type is an enumerated type T4 that describes an object that can store the seek mode used as an
argument to the member functions of several iostreams classes. The distinct flag values are:
beg, to seek (alter the current read or write position) relative to the beginning oc a sequence
(array, stream, or file)
cur, to seek relative to the current position within a sequence
end, to seek relative to the end of a sequence