ios::xalloc

static int xalloc();

Return Value

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 subsequently be 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.

ios OverviewAbstract Stream Base Class

ios::iword, ios::pword