#
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
.
257
🔗
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
.
257)
257)
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
.