ios::xalloc

Syntax

static int xalloc();

Remarks

Provides extra ios object state variables without the need for class derivation. It does so by returning an index to an unused 32-bit word in an internal array. This index can be subsequently converted into a reference or pointer by using the iword or pword member functions.

Any call to xalloc invalidates values returned by previous calls to iword and pword.

See Also

ios::iword, ios::pword