ios::bitalloc
static long bitalloc();
Remarks
Provides a mask for an unused format bit in the stream’s private flags variable (static function). The ios class currently defines 15 format flag bits accessible through flags and other member functions. These bits reside in a 32-bit private ios data member and are accessed through enumerators such as ios::left and ios::hex.
The bitalloc member function provides a mask for a previously unused bit in the data member. Once you obtain the mask, you can use it to set or test the corresponding custom flag bit in conjunction with the ios member functions and manipulators listed under “See Also.”
ios Overview | Abstract Stream Base Class
See Also ios::flags, ios::setf, ios::unsetf, ios setiosflags manipulator, ios resetiosflags manipulator