255 lines
6.2 KiB
Markdown
255 lines
6.2 KiB
Markdown
[fmtflags.manip]
|
||
|
||
# 31 Input/output library [[input.output]](./#input.output)
|
||
|
||
## 31.5 Iostreams base classes [[iostreams.base]](iostreams.base#fmtflags.manip)
|
||
|
||
### 31.5.5 ios_base manipulators [[std.ios.manip]](std.ios.manip#fmtflags.manip)
|
||
|
||
#### 31.5.5.1 fmtflags manipulators [fmtflags.manip]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2401)
|
||
|
||
Each function specified in this subclause
|
||
is a designated addressable function ([[namespace.std]](namespace.std "16.4.5.2.1 Namespace std"))[.](#1.sentence-1)
|
||
|
||
[ð](#lib:boolalpha)
|
||
|
||
`ios_base& boolalpha(ios_base& str);
|
||
`
|
||
|
||
[2](#2)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2411)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::boolalpha)[.](#2.sentence-1)
|
||
|
||
[3](#3)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2416)
|
||
|
||
*Returns*: str[.](#3.sentence-1)
|
||
|
||
[ð](#lib:noboolalpha)
|
||
|
||
`ios_base& noboolalpha(ios_base& str);
|
||
`
|
||
|
||
[4](#4)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2427)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::boolalpha)[.](#4.sentence-1)
|
||
|
||
[5](#5)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2432)
|
||
|
||
*Returns*: str[.](#5.sentence-1)
|
||
|
||
[ð](#lib:showbase)
|
||
|
||
`ios_base& showbase(ios_base& str);
|
||
`
|
||
|
||
[6](#6)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2443)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::showbase)[.](#6.sentence-1)
|
||
|
||
[7](#7)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2448)
|
||
|
||
*Returns*: str[.](#7.sentence-1)
|
||
|
||
[ð](#lib:noshowbase)
|
||
|
||
`ios_base& noshowbase(ios_base& str);
|
||
`
|
||
|
||
[8](#8)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2459)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::showbase)[.](#8.sentence-1)
|
||
|
||
[9](#9)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2464)
|
||
|
||
*Returns*: str[.](#9.sentence-1)
|
||
|
||
[ð](#lib:showpoint)
|
||
|
||
`ios_base& showpoint(ios_base& str);
|
||
`
|
||
|
||
[10](#10)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2475)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::showpoint)[.](#10.sentence-1)
|
||
|
||
[11](#11)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2480)
|
||
|
||
*Returns*: str[.](#11.sentence-1)
|
||
|
||
[ð](#lib:noshowpoint)
|
||
|
||
`ios_base& noshowpoint(ios_base& str);
|
||
`
|
||
|
||
[12](#12)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2491)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::showpoint)[.](#12.sentence-1)
|
||
|
||
[13](#13)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2496)
|
||
|
||
*Returns*: str[.](#13.sentence-1)
|
||
|
||
[ð](#lib:showpos)
|
||
|
||
`ios_base& showpos(ios_base& str);
|
||
`
|
||
|
||
[14](#14)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2507)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::showpos)[.](#14.sentence-1)
|
||
|
||
[15](#15)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2512)
|
||
|
||
*Returns*: str[.](#15.sentence-1)
|
||
|
||
[ð](#lib:noshowpos)
|
||
|
||
`ios_base& noshowpos(ios_base& str);
|
||
`
|
||
|
||
[16](#16)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2523)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::showpos)[.](#16.sentence-1)
|
||
|
||
[17](#17)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2528)
|
||
|
||
*Returns*: str[.](#17.sentence-1)
|
||
|
||
[ð](#lib:skipws)
|
||
|
||
`ios_base& skipws(ios_base& str);
|
||
`
|
||
|
||
[18](#18)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2539)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::skipws)[.](#18.sentence-1)
|
||
|
||
[19](#19)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2544)
|
||
|
||
*Returns*: str[.](#19.sentence-1)
|
||
|
||
[ð](#lib:noskipws)
|
||
|
||
`ios_base& noskipws(ios_base& str);
|
||
`
|
||
|
||
[20](#20)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2555)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::skipws)[.](#20.sentence-1)
|
||
|
||
[21](#21)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2560)
|
||
|
||
*Returns*: str[.](#21.sentence-1)
|
||
|
||
[ð](#lib:uppercase)
|
||
|
||
`ios_base& uppercase(ios_base& str);
|
||
`
|
||
|
||
[22](#22)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2571)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::uppercase)[.](#22.sentence-1)
|
||
|
||
[23](#23)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2576)
|
||
|
||
*Returns*: str[.](#23.sentence-1)
|
||
|
||
[ð](#lib:nouppercase)
|
||
|
||
`ios_base& nouppercase(ios_base& str);
|
||
`
|
||
|
||
[24](#24)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2587)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::uppercase)[.](#24.sentence-1)
|
||
|
||
[25](#25)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2592)
|
||
|
||
*Returns*: str[.](#25.sentence-1)
|
||
|
||
[ð](#lib:unitbuf)
|
||
|
||
`ios_base& unitbuf(ios_base& str);
|
||
`
|
||
|
||
[26](#26)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2603)
|
||
|
||
*Effects*: Callsstr.setf(ios_base::unitbuf)[.](#26.sentence-1)
|
||
|
||
[27](#27)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2608)
|
||
|
||
*Returns*: str[.](#27.sentence-1)
|
||
|
||
[ð](#lib:nounitbuf)
|
||
|
||
`ios_base& nounitbuf(ios_base& str);
|
||
`
|
||
|
||
[28](#28)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2619)
|
||
|
||
*Effects*: Callsstr.unsetf(ios_base::unitbuf)[.](#28.sentence-1)
|
||
|
||
[29](#29)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L2624)
|
||
|
||
*Returns*: str[.](#29.sentence-1)
|