Name
noboolalpha function — Manipulator to disable reading and writing bool as text
Synopsis
ios_base& noboolalpha(ios_base& stream)
The noboolalpha
function is
a manipulator that clears the boolalpha
flag, causing the stream to read
or write bool
values as integers.
Specifically, the function calls stream.unsetf(ios_base::boolalpha)
and
returns stream
.
See Also
boolalpha function,
ios_base::fmtflags type,
ctype
in <locale>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.