Name
uppercase function — Manipulator to use uppercase for generated output
Synopsis
ios_base& uppercase(ios_base& stream)
The uppercase
function is a
manipulator that sets the uppercase
flag, which tells an output
stream to use uppercase letters for generated output (e.g., 0X
for hexadecimal prefix or E
for exponents). Specifically, the
function calls stream.setf(ios_base::uppercase)
and
returns stream
.
See Also
hex function, ios_base::fmtflags type, nouppercase function, scientific function, num_put
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.