noshowbase

Turns off indicating the notational base in which a number is displayed.

ios_base& noshowbase(
   ios_base& _Str
);

Parameters

  • _Str
    A reference to an object of type ios_base, or to a type that inherits from ios_base.

Return Value

A reference to the object from which _Str is derived.

Remarks

noshowbase is on by default. Use showbase to indicate the notational base of numbers.

The manipulator effectively calls _Str.unsetf(ios_base::showbase), and then returns _Str.

Example

See showbase for an example of how to use noshowbase.

Requirements

Header: <ios>

Namespace: std

See Also

Concepts

<ios> Members

iostream Programming

iostreams Conventions