31
Input/output library
[input.output]
31.5
Iostreams base classes
[iostreams.base]
31.5.5
ios_
base
manipulators
[std.ios.manip]
31.5.5.3
basefield
manipulators
[basefield.manip]
1
#
Each function specified in this subclause is a designated addressable function (
[namespace.
std]
)
.
🔗
ios_base
&
dec
(
ios_base
&
str
)
;
2
#
Effects
: Calls
str
.
setf
(
ios_
base
::
dec, ios_
base
::
basefield
)
.
3
#
Returns
:
str
.
275
🔗
ios_base
&
hex
(
ios_base
&
str
)
;
4
#
Effects
: Calls
str
.
setf
(
ios_
base
::
hex, ios_
base
::
basefield
)
.
5
#
Returns
:
str
.
🔗
ios_base
&
oct
(
ios_base
&
str
)
;
6
#
Effects
: Calls
str
.
setf
(
ios_
base
::
oct, ios_
base
::
basefield
)
.
7
#
Returns
:
str
.
275)
275)
The function signature
dec
(
ios_
base
&
)
can be called by the function signature
basic_
ostream
&
stream
::
operator
<
<
(
ios_
base
&
(
*
)
(
ios_
base
&
)
)
to permit expressions of the form
cout
<
<
dec
to change the format flags stored in
cout
.