ios::basefield

static const long basefield;

Remarks

A mask for obtaining the current radix flag bits (dec, oct, or hex).

Example

extern ostream os;
if( ( os.flags() & ios::basefield ) == ios::hex ) .....

ios OverviewAbstract Stream Base Class

See Also   ios::flags