Standard
C++ Library
Reference
SC09-8000-00
/161-0_files/161-000002im.jpg" width="711" height="38" useMap="#Map">
Note!
Before
using
this
information
and
the
product
it
supports,
read
the
information
in
"Notices"
on
page
429.
/161-0_files/161-000003im.jpg" width="720" height="5" useMap="#Map">
Contents
Chapter
1.
C++
Library
. . . . . . . .
1
Cont::max_size
. .
.
.
.
.
.
.
.
.
.
.
45
Cont::rbegin
. . .
.
.
.
.
.
.
.
.
.
.
45
Cont::reference
. .
.
.
.
.
.
.
.
.
.
.
45
Chapter
2.
C++
Library
Overview
. . . .
5
Cont::rend
. . . .
.
.
.
.
.
.
.
.
.
.
45
Using
C++
Library
Headers
. . . .
.
.
.
.
.
5
Cont::reverse_iterator
.
.
.
.
.
.
.
.
.
.
46
C++
Library
Conventions
. . . . .
.
.
.
.
.
6
Cont::size
. . . .
.
.
.
.
.
.
.
.
.
.
46
Iostreams
Conventions
. . . . . .
.
.
.
.
.
7
Cont::size_type
. .
.
.
.
.
.
.
.
.
.
.
46
C++
Program
Startup
and
Termination
.
.
.
.
.
7
Cont::swap
. . .
.
.
.
.
.
.
.
.
.
.
46
Cont::value_type.
.
.
.
.
.
.
.
.
.
.
.
46
Chapter
3.
Characters
. . . . . . . . .
9
operator!=
. . . . .
.
.
.
.
.
.
.
.
.
.
46
Character
Sets
. . . . . .
.
.
.
.
.
.
.
.9
operator==
. . . .
.
.
.
.
.
.
.
.
.
.
46
Character
Sets
and
Locales
.
.
.
.
.
.
.
.
10
operator<
. . . . .
.
.
.
.
.
.
.
.
.
.
47
Escape
Sequences
. . . .
.
.
.
.
.
.
.
.
10
operator<=
. . . .
.
.
.
.
.
.
.
.
.
.
47
Numeric
Escape
Sequences
.
.
.
.
.
.
.
.
11
operator>
. . . . .
.
.
.
.
.
.
.
.
.
.
47
Trigraphs
. . . . . . .
.
.
.
.
.
.
.
.
11
operator>=
. . . .
.
.
.
.
.
.
.
.
.
.
47
Multibyte
Characters
. . .
.
.
.
.
.
.
.
.
12
swap
. . . . . .
.
.
.
.
.
.
.
.
.
.
47
Wide-Character
Encoding.
.
.
.
.
.
.
.
.
13
Chapter
11.
Preprocessing
. . . . . .
49
Chapter
4.
Expressions
. . . . . . .
15
Chapter
12.
Standard
C++
Library
Chapter
5.
Files
and
Streams
. . . . .
17
Header
Files
. . . . . . . . . . . .
51
Text
and
Binary
Streams
.
.
.
.
.
.
.
.
.
.
17
<bitset>
. . . . . .
.
.
.
.
.
.
.
.
.
54
Byte
and
Wide
Streams
.
.
.
.
.
.
.
.
.
.
18
bitset
. . . . . .
.
.
.
.
.
.
.
.
.
54
Controlling
Streams .
.
.
.
.
.
.
.
.
.
.
19
operator<<
. . . .
.
.
.
.
.
.
.
.
.
58
Stream
States . . . .
.
.
.
.
.
.
.
.
.
.
20
operator>>
. . . .
.
.
.
.
.
.
.
.
.
59
<cassert>
. . . . . .
.
.
.
.
.
.
.
.
.
59
Chapter
6.
Functions.
. . . . . . . .
23
<cctype>
. . . . . .
.
.
.
.
.
.
.
.
.
59
<cerrno>
. . . . . .
.
.
.
.
.
.
.
.
.
59
Chapter
7.
Formatted
Input
. . . . . .
25
<cfloat>
. . . . . .
.
.
.
.
.
.
.
.
.
59
<ciso646>
. . . . . .
.
.
.
.
.
.
.
.
.
60
Scan
Formats
. . . . . .
.
.
.
.
.
.
.
.
25
<climits>
. . . . . .
.
.
.
.
.
.
.
.
.
60
Scan
Functions
. . . . .
.
.
.
.
.
.
.
.
25
<clocale>
. . . . . .
.
.
.
.
.
.
.
.
.
60
Scan
Conversion
Specifiers
.
.
.
.
.
.
.
.
.
26
<cmath>
. . . . . .
.
.
.
.
.
.
.
.
.
60
<complex>
. . . . .
.
.
.
.
.
.
.
.
.
61
Chapter
8.
Formatted
Output
. . . . .
31
abs
. . . . . . .
.
.
.
.
.
.
.
.
.
63
Print
Formats
. . . . . .
.
.
.
.
.
.
.
.
31
arg
. . . . . . .
.
.
.
.
.
.
.
.
.
63
Print
Functions
. . . . .
.
.
.
.
.
.
.
.
32
complex
. . . . .
.
.
.
.
.
.
.
.
.
63
Print
Conversion
Specifiers
.
.
.
.
.
.
.
.
.
33
complex<double>
. .
.
.
.
.
.
.
.
.
.
66
complex<float>
. . .
.
.
.
.
.
.
.
.
.
67
Chapter
9.
STL
Conventions
. . . . .
37
complex<long
double>
.
.
.
.
.
.
.
.
.
67
Iterator
Conventions
. .
.
.
.
.
.
.
.
.
.
37
conj
. . . . . . .
.
.
.
.
.
.
.
.
.
67
Algorithm
Conventions
.
.
.
.
.
.
.
.
.
.
38
cos
. . . . . . .
.
.
.
.
.
.
.
.
.
67
cosh . . . . . . .
.
.
.
.
.
.
.
.
.
67
Chapter
10.
Containers
. . . . . . . .
41
exp
. . . . . . .
.
.
.
.
.
.
.
.
.
68
Cont
. . . . . . . . .
.
.
.
.
.
.
.
.
42
imag.
. . . . . .
.
.
.
.
.
.
.
.
.
68
Cont::begin
. . . . .
.
.
.
.
.
.
.
.
44
log
. . . . . . .
.
.
.
.
.
.
.
.
.
68
Cont::clear
. . . . . .
.
.
.
.
.
.
.
.
44
log10
. . . . . .
.
.
.
.
.
.
.
.
.
68
Cont::const_iterator
. . .
.
.
.
.
.
.
.
.
44
norm
. . . . . .
.
.
.
.
.
.
.
.
.
68
Cont::const_reference
. .
.
.
.
.
.
.
.
.
44
operator!=
. . . . .
.
.
.
.
.
.
.
.
.
68
Cont::const_reverse_iterator
.
.
.
.
.
.
.
.
44
operator*
. . . . .
.
.
.
.
.
.
.
.
.
68
Cont::difference_type
. .
.
.
.
.
.
.
.
.
44
operator+
. . . . .
.
.
.
.
.
.
.
.
.
69
Cont::empty
. . . . .
.
.
.
.
.
.
.
.
44
operator-
. . . . .
.
.
.
.
.
.
.
.
.
69
Cont::end
. . . . . .
.
.
.
.
.
.
.
.
45
operator/
. . . . .
.
.
.
.
.
.
.
.
.
69
Cont::erase
. . . . .
.
.
.
.
.
.
.
.
45
operator<<
. . . .
.
.
.
.
.
.
.
.
.
69
Cont::iterator
. . . . .
.
.
.
.
.
.
.
.
45
operator==
. . . .
.
.
.
.
.
.
.
.
.
70
iii
operator>>
. . .
.
.
.
.
.
.
.
.
.
.
70
noboolalpha
. . .
.
.
.
.
.
.
.
.
.
.
99
polar
. . . . .
.
.
.
.
.
.
.
.
.
.
70
noshowbase
. . .
.
.
.
.
.
.
.
.
.
.
99
pow
. . . . . .
.
.
.
.
.
.
.
.
.
.
70
noshowpoint
. . .
.
.
.
.
.
.
.
.
.
.
99
real
. . . . . .
.
.
.
.
.
.
.
.
.
.
71
noshowpos
. . .
.
.
.
.
.
.
.
.
.
.
99
sin
. . . . . .
.
.
.
.
.
.
.
.
.
.
71
noskipws
. . . .
.
.
.
.
.
.
.
.
.
.
100
sinh
. . . . . .
.
.
.
.
.
.
.
.
.
.
71
nounitbuf
. . .
.
.
.
.
.
.
.
.
.
.
100
sqrt
. . . . . .
.
.
.
.
.
.
.
.
.
.
71
nouppercase
. . .
.
.
.
.
.
.
.
.
.
.
100
__STD_COMPLEX
.
.
.
.
.
.
.
.
.
.
.
71
oct
. . . . . .
.
.
.
.
.
.
.
.
.
.
100
tan
. . . . . .
.
.
.
.
.
.
.
.
.
.
71
right
. . . . .
.
.
.
.
.
.
.
.
.
.
100
tanh
. . . . . .
.
.
.
.
.
.
.
.
.
.
71
scientific
. . . .
.
.
.
.
.
.
.
.
.
.
100
<csetjmp>
. . . . .
.
.
.
.
.
.
.
.
.
.
72
showbase . . . .
.
.
.
.
.
.
.
.
.
.
100
<csignal>
. . . . .
.
.
.
.
.
.
.
.
.
.
72
showpoint
. . .
.
.
.
.
.
.
.
.
.
.
100
<cstdarg>
. . . . .
.
.
.
.
.
.
.
.
.
.
72
showpos
. . . .
.
.
.
.
.
.
.
.
.
.
100
<cstddef>
. . . . .
.
.
.
.
.
.
.
.
.
.
72
skipws
. . . .
.
.
.
.
.
.
.
.
.
.
101
<cstdio>
. . . . .
.
.
.
.
.
.
.
.
.
.
72
streamoff
. . . .
.
.
.
.
.
.
.
.
.
.
101
<cstdlib>
. . . . .
.
.
.
.
.
.
.
.
.
.
73
streampos
. . .
.
.
.
.
.
.
.
.
.
.
101
<cstring>
. . . . .
.
.
.
.
.
.
.
.
.
.
73
streamsize
. . .
.
.
.
.
.
.
.
.
.
.
101
<ctime>
. . . . .
.
.
.
.
.
.
.
.
.
.
73
unitbuf
. . . .
.
.
.
.
.
.
.
.
.
.
101
<cwchar>
. . . . .
.
.
.
.
.
.
.
.
.
.
74
uppercase
. . .
.
.
.
.
.
.
.
.
.
.
101
<cwctype>.
. . . .
.
.
.
.
.
.
.
.
.
.
74
wios
. . . . .
.
.
.
.
.
.
.
.
.
.
101
<exception>
. . . .
.
.
.
.
.
.
.
.
.
.
74
wstreampos
. . .
.
.
.
.
.
.
.
.
.
.
101
bad_exception
. .
.
.
.
.
.
.
.
.
.
.
75
<iosfwd>
. . . . .
.
.
.
.
.
.
.
.
.
.
102
exception
. . . .
.
.
.
.
.
.
.
.
.
.
75
<iostream>
. . . .
.
.
.
.
.
.
.
.
.
.
103
set_terminate
. . .
.
.
.
.
.
.
.
.
.
.
75
cerr.
. . . . .
.
.
.
.
.
.
.
.
.
.
104
set_unexpected
. .
.
.
.
.
.
.
.
.
.
.
75
cin
. . . . . .
.
.
.
.
.
.
.
.
.
.
104
terminate
. . . .
.
.
.
.
.
.
.
.
.
.
75
clog
. . . . .
.
.
.
.
.
.
.
.
.
.
104
terminate_handler
.
.
.
.
.
.
.
.
.
.
.
75
cout
. . . . .
.
.
.
.
.
.
.
.
.
.
104
uncaught_exception
.
.
.
.
.
.
.
.
.
.
76
wcerr
. . . . .
.
.
.
.
.
.
.
.
.
.
104
unexpected
. . .
.
.
.
.
.
.
.
.
.
.
76
wcin
. . . . .
.
.
.
.
.
.
.
.
.
.
105
unexpected_handler
.
.
.
.
.
.
.
.
.
.
76
wclog
. . . . .
.
.
.
.
.
.
.
.
.
.
105
<fstream>
. . . . .
.
.
.
.
.
.
.
.
.
.
76
wcout
. . . . .
.
.
.
.
.
.
.
.
.
.
105
basic_filebuf
. . .
.
.
.
.
.
.
.
.
.
.
77
<istream>
. . . .
.
.
.
.
.
.
.
.
.
.
105
basic_fstream
. . .
.
.
.
.
.
.
.
.
.
.
81
basic_iostream
. .
.
.
.
.
.
.
.
.
.
.
106
basic_ifstream
. .
.
.
.
.
.
.
.
.
.
.
82
basic_istream
. .
.
.
.
.
.
.
.
.
.
.
106
basic_ofstream
. .
.
.
.
.
.
.
.
.
.
.
83
iostream
. . . .
.
.
.
.
.
.
.
.
.
.
112
filebuf
. . . . .
.
.
.
.
.
.
.
.
.
.
84
istream
. . . .
.
.
.
.
.
.
.
.
.
.
112
fstream
. . . . .
.
.
.
.
.
.
.
.
.
.
84
operator>>
. . .
.
.
.
.
.
.
.
.
.
.
112
ifstream
. . . .
.
.
.
.
.
.
.
.
.
.
84
wiostream
. . .
.
.
.
.
.
.
.
.
.
.
114
ofstream
. . . .
.
.
.
.
.
.
.
.
.
.
85
wistream
. . . .
.
.
.
.
.
.
.
.
.
.
114
wfstream
. . . .
.
.
.
.
.
.
.
.
.
.
85
ws . . . . . .
.
.
.
.
.
.
.
.
.
.
114
wifstream
. . . .
.
.
.
.
.
.
.
.
.
.
85
<limits>
. . . . .
.
.
.
.
.
.
.
.
.
.
114
wofstream
. . . .
.
.
.
.
.
.
.
.
.
.
85
float_denorm_style
.
.
.
.
.
.
.
.
.
.
114
wfilebuf
. . . .
.
.
.
.
.
.
.
.
.
.
85
float_round_style
.
.
.
.
.
.
.
.
.
.
.
115
<iomanip>.
. . . .
.
.
.
.
.
.
.
.
.
.
85
numeric_limits
. .
.
.
.
.
.
.
.
.
.
.
115
resetiosflags
. . .
.
.
.
.
.
.
.
.
.
.
86
<locale>
. . . . .
.
.
.
.
.
.
.
.
.
.
119
setbase
. . . . .
.
.
.
.
.
.
.
.
.
.
86
codecvt
. . . .
.
.
.
.
.
.
.
.
.
.
121
setfill
. . . . .
.
.
.
.
.
.
.
.
.
.
86
codecvt_base
. .
.
.
.
.
.
.
.
.
.
.
125
setiosflags . . . .
.
.
.
.
.
.
.
.
.
.
86
codecvt_byname
.
.
.
.
.
.
.
.
.
.
.
125
setprecision
. . .
.
.
.
.
.
.
.
.
.
.
86
collate
. . . . .
.
.
.
.
.
.
.
.
.
.
126
setw
. . . . . .
.
.
.
.
.
.
.
.
.
.
86
collate_byname
. .
.
.
.
.
.
.
.
.
.
.
127
<ios>
. . . . . .
.
.
.
.
.
.
.
.
.
.
86
ctype
. . . . .
.
.
.
.
.
.
.
.
.
.
127
basic_ios . . . .
.
.
.
.
.
.
.
.
.
.
88
ctype<char>
. . .
.
.
.
.
.
.
.
.
.
.
131
boolalpha
. . . .
.
.
.
.
.
.
.
.
.
.
91
ctype_base
. . .
.
.
.
.
.
.
.
.
.
.
132
dec
. . . . . .
.
.
.
.
.
.
.
.
.
.
92
ctype_byname
. .
.
.
.
.
.
.
.
.
.
.
133
fixed.
. . . . .
.
.
.
.
.
.
.
.
.
.
92
has_facet
. . . .
.
.
.
.
.
.
.
.
.
.
133
fpos
. . . . . .
.
.
.
.
.
.
.
.
.
.
92
isalnum
. . . .
.
.
.
.
.
.
.
.
.
.
133
hex
. . . . . .
.
.
.
.
.
.
.
.
.
.
93
isalpha
. . . .
.
.
.
.
.
.
.
.
.
.
133
internal
. . . . .
.
.
.
.
.
.
.
.
.
.
94
iscntrl
. . . . .
.
.
.
.
.
.
.
.
.
.
133
ios . . . . . .
.
.
.
.
.
.
.
.
.
.
94
isdigit
. . . . .
.
.
.
.
.
.
.
.
.
.
133
ios_base
. . . .
.
.
.
.
.
.
.
.
.
.
94
isgraph
. . . .
.
.
.
.
.
.
.
.
.
.
134
left
. . . . . .
.
.
.
.
.
.
.
.
.
.
99
islower
. . . .
.
.
.
.
.
.
.
.
.
.
134
iv
Standard
C++
Library
isprint
. . . . . .
.
.
.
.
.
.
.
.
.
134
logic_error
. . . .
.
.
.
.
.
.
.
.
.
184
ispunct
. . . . .
.
.
.
.
.
.
.
.
.
134
out_of_range
. . .
.
.
.
.
.
.
.
.
.
185
isspace
. . . . .
.
.
.
.
.
.
.
.
.
134
overflow_error
. . .
.
.
.
.
.
.
.
.
.
185
isupper
. . . . .
.
.
.
.
.
.
.
.
.
134
range_error
. . . .
.
.
.
.
.
.
.
.
.
185
isxdigit
. . . . .
.
.
.
.
.
.
.
.
.
134
runtime_error
. . .
.
.
.
.
.
.
.
.
.
185
locale
. . . . . .
.
.
.
.
.
.
.
.
.
134
underflow_error
. .
.
.
.
.
.
.
.
.
.
185
messages
. . . . .
.
.
.
.
.
.
.
.
.
139
<streambuf>.
. . . .
.
.
.
.
.
.
.
.
.
185
messages_base
. . .
.
.
.
.
.
.
.
.
.
140
basic_streambuf
. .
.
.
.
.
.
.
.
.
.
186
messages_byname . .
.
.
.
.
.
.
.
.
.
140
streambuf
. . . .
.
.
.
.
.
.
.
.
.
194
money_base
. . . .
.
.
.
.
.
.
.
.
.
141
wstreambuf
. . . .
.
.
.
.
.
.
.
.
.
194
money_get
. . . .
.
.
.
.
.
.
.
.
.
141
<string>
. . . . . .
.
.
.
.
.
.
.
.
.
195
money_put
. . . .
.
.
.
.
.
.
.
.
.
143
basic_string
. . . .
.
.
.
.
.
.
.
.
.
197
moneypunct
. . . .
.
.
.
.
.
.
.
.
.
145
char_traits
. . . .
.
.
.
.
.
.
.
.
.
210
moneypunct_byname
.
.
.
.
.
.
.
.
.
.
149
char_traits<char>
. .
.
.
.
.
.
.
.
.
.
213
num_get
. . . . .
.
.
.
.
.
.
.
.
.
149
char_traits<wchar_t>
.
.
.
.
.
.
.
.
.
.
213
num_put
. . . . .
.
.
.
.
.
.
.
.
.
152
getline
. . . . . .
.
.
.
.
.
.
.
.
.
214
numpunct
. . . .
.
.
.
.
.
.
.
.
.
156
operator+.
. . . .
.
.
.
.
.
.
.
.
.
214
numpunct_byname
.
.
.
.
.
.
.
.
.
.
158
operator!=
. . . .
.
.
.
.
.
.
.
.
.
214
time_base . . . .
.
.
.
.
.
.
.
.
.
158
operator==
. . . .
.
.
.
.
.
.
.
.
.
215
time_get
. . . . .
.
.
.
.
.
.
.
.
.
158
operator<.
. . . .
.
.
.
.
.
.
.
.
.
215
time_get_byname
. .
.
.
.
.
.
.
.
.
.
162
operator<<
. . . .
.
.
.
.
.
.
.
.
.
215
time_put
. . . . .
.
.
.
.
.
.
.
.
.
162
operator<=
. . . .
.
.
.
.
.
.
.
.
.
216
time_put_byname
. .
.
.
.
.
.
.
.
.
.
163
operator>.
. . . .
.
.
.
.
.
.
.
.
.
216
tolower
. . . . .
.
.
.
.
.
.
.
.
.
163
operator>=
. . . .
.
.
.
.
.
.
.
.
.
216
toupper
. . . . .
.
.
.
.
.
.
.
.
.
164
operator>>
. . . .
.
.
.
.
.
.
.
.
.
216
use_facet
. . . . .
.
.
.
.
.
.
.
.
.
164
string
. . . . . .
.
.
.
.
.
.
.
.
.
217
<new>
. . . . . .
.
.
.
.
.
.
.
.
.
164
swap
. . . . . .
.
.
.
.
.
.
.
.
.
217
bad_alloc
. . . . .
.
.
.
.
.
.
.
.
.
164
wstring
. . . . .
.
.
.
.
.
.
.
.
.
217
new_handler
. . .
.
.
.
.
.
.
.
.
.
165
<strstream>
. . . . .
.
.
.
.
.
.
.
.
.
217
nothrow
. . . . .
.
.
.
.
.
.
.
.
.
165
strstreambuf
. . . .
.
.
.
.
.
.
.
.
.
217
nothrow_t
. . . .
.
.
.
.
.
.
.
.
.
165
istrstream
. . . .
.
.
.
.
.
.
.
.
.
221
operator
delete
. . .
.
.
.
.
.
.
.
.
.
165
ostrstream
. . . .
.
.
.
.
.
.
.
.
.
222
operator
delete[]
. .
.
.
.
.
.
.
.
.
.
165
strstream
. . . . .
.
.
.
.
.
.
.
.
.
223
operator
new
. . .
.
.
.
.
.
.
.
.
.
166
<typeinfo>
. . . . .
.
.
.
.
.
.
.
.
.
224
operator
new[]
. . .
.
.
.
.
.
.
.
.
.
167
bad_cast
. . . . .
.
.
.
.
.
.
.
.
.
224
set_new_handler
. .
.
.
.
.
.
.
.
.
.
167
bad_typeid
. . . .
.
.
.
.
.
.
.
.
.
224
<ostream>
. . . . .
.
.
.
.
.
.
.
.
.
168
type_info
. . . . .
.
.
.
.
.
.
.
.
.
225
basic_ostream . . .
.
.
.
.
.
.
.
.
.
169
<valarray>
. . . . .
.
.
.
.
.
.
.
.
.
225
endl
. . . . . .
.
.
.
.
.
.
.
.
.
173
abs
. . . . . . .
.
.
.
.
.
.
.
.
.
229
ends . . . . . .
.
.
.
.
.
.
.
.
.
173
acos
. . . . . .
.
.
.
.
.
.
.
.
.
229
flush
. . . . . .
.
.
.
.
.
.
.
.
.
173
asin . . . . . .
.
.
.
.
.
.
.
.
.
229
operator<<
. . . .
.
.
.
.
.
.
.
.
.
173
atan
. . . . . .
.
.
.
.
.
.
.
.
.
230
ostream
. . . . .
.
.
.
.
.
.
.
.
.
176
atan2
. . . . . .
.
.
.
.
.
.
.
.
.
230
wostream.
. . . .
.
.
.
.
.
.
.
.
.
176
cos
. . . . . . .
.
.
.
.
.
.
.
.
.
230
<sstream>
. . . . .
.
.
.
.
.
.
.
.
.
176
cosh . . . . . .
.
.
.
.
.
.
.
.
.
230
basic_stringbuf
. . .
.
.
.
.
.
.
.
.
.
176
exp
. . . . . . .
.
.
.
.
.
.
.
.
.
230
basic_istringstream
.
.
.
.
.
.
.
.
.
.
180
gslice . . . . . .
.
.
.
.
.
.
.
.
.
230
basic_ostringstream
.
.
.
.
.
.
.
.
.
.
181
gslice_array
. . . .
.
.
.
.
.
.
.
.
.
231
basic_stringstream
. .
.
.
.
.
.
.
.
.
.
182
indirect_array
. . .
.
.
.
.
.
.
.
.
.
232
istringstream
. . .
.
.
.
.
.
.
.
.
.
183
log
. . . . . . .
.
.
.
.
.
.
.
.
.
233
ostringstream
. . .
.
.
.
.
.
.
.
.
.
183
log10
. . . . . .
.
.
.
.
.
.
.
.
.
233
stringbuf
. . . . .
.
.
.
.
.
.
.
.
.
183
mask_array
. . . .
.
.
.
.
.
.
.
.
.
233
stringstream
. . . .
.
.
.
.
.
.
.
.
.
183
operator!=
. . . .
.
.
.
.
.
.
.
.
.
234
wistringstream
. . .
.
.
.
.
.
.
.
.
.
183
operator%
. . . .
.
.
.
.
.
.
.
.
.
234
wostringstream
. . .
.
.
.
.
.
.
.
.
.
183
operator&
. . . .
.
.
.
.
.
.
.
.
.
234
wstringbuf
. . . .
.
.
.
.
.
.
.
.
.
183
operator&&
. . . .
.
.
.
.
.
.
.
.
.
234
wstringstream
. . .
.
.
.
.
.
.
.
.
.
183
operator>.
. . . .
.
.
.
.
.
.
.
.
.
235
<stdexcept>
. . . . .
.
.
.
.
.
.
.
.
.
184
operator>>
. . . .
.
.
.
.
.
.
.
.
.
235
domain_error
. . .
.
.
.
.
.
.
.
.
.
184
operator>=
. . . .
.
.
.
.
.
.
.
.
.
235
invalid_argument
. .
.
.
.
.
.
.
.
.
.
184
operator<.
. . . .
.
.
.
.
.
.
.
.
.
235
length_error
. . . .
.
.
.
.
.
.
.
.
.
184
operator<<
. . . .
.
.
.
.
.
.
.
.
.
236
v
Contents
operator<=
. .
.
.
.
.
.
.
.
.
.
.
.
236
remove
. . . . . .
.
.
.
.
.
.
.
.
264
operator*
. . .
.
.
.
.
.
.
.
.
.
.
.
236
remove_copy
. . . .
.
.
.
.
.
.
.
.
265
operator+.
. .
.
.
.
.
.
.
.
.
.
.
.
236
remove_copy_if
. . .
.
.
.
.
.
.
.
.
265
operator-
. . .
.
.
.
.
.
.
.
.
.
.
.
237
remove_if
. . . . .
.
.
.
.
.
.
.
.
265
operator/.
. .
.
.
.
.
.
.
.
.
.
.
.
237
replace
. . . . . .
.
.
.
.
.
.
.
.
266
operator==
. .
.
.
.
.
.
.
.
.
.
.
.
237
replace_copy
. . . .
.
.
.
.
.
.
.
.
266
operator^.
. .
.
.
.
.
.
.
.
.
.
.
.
237
replace_copy_if
. . . .
.
.
.
.
.
.
.
.
266
operator|.
. .
.
.
.
.
.
.
.
.
.
.
.
238
replace_if
. . . . . .
.
.
.
.
.
.
.
.
266
operator||
. .
.
.
.
.
.
.
.
.
.
.
.
238
reverse
. . . . . .
.
.
.
.
.
.
.
.
267
pow
. . . .
.
.
.
.
.
.
.
.
.
.
.
238
reverse_copy
. . . .
.
.
.
.
.
.
.
.
267
sin
. . . . .
.
.
.
.
.
.
.
.
.
.
.
238
rotate
. . . . . . .
.
.
.
.
.
.
.
.
267
sinh
. . . .
.
.
.
.
.
.
.
.
.
.
.
239
rotate_copy
. . . . .
.
.
.
.
.
.
.
.
267
slice . . . .
.
.
.
.
.
.
.
.
.
.
.
239
search . . . . . . .
.
.
.
.
.
.
.
.
267
slice_array
. .
.
.
.
.
.
.
.
.
.
.
.
239
search_n . . . . . .
.
.
.
.
.
.
.
.
268
sqrt.
. . . .
.
.
.
.
.
.
.
.
.
.
.
240
set_difference
. . . .
.
.
.
.
.
.
.
.
268
tan
. . . . .
.
.
.
.
.
.
.
.
.
.
.
240
set_intersection
. . . .
.
.
.
.
.
.
.
.
269
tanh
. . . .
.
.
.
.
.
.
.
.
.
.
.
240
set_symmetric_difference
.
.
.
.
.
.
.
.
269
valarray
. . .
.
.
.
.
.
.
.
.
.
.
.
240
set_union
. . . . . .
.
.
.
.
.
.
.
.
270
valarray<bool>
.
.
.
.
.
.
.
.
.
.
.
.
247
sort.
. . . . . . .
.
.
.
.
.
.
.
.
270
sort_heap.
. . . . .
.
.
.
.
.
.
.
.
271
stable_partition
. . . .
.
.
.
.
.
.
.
.
271
Chapter
13.
Standard
Template
Library
stable_sort
. . . . .
.
.
.
.
.
.
.
.
271
C++
. . . . . . . . . . . . . . .
249
swap
. . . . . . .
.
.
.
.
.
.
.
.
272
<algorithm>
. . . . . .
.
.
.
.
.
.
.
.
249
swap_ranges
. . . .
.
.
.
.
.
.
.
.
272
adjacent_find
. . . .
.
.
.
.
.
.
.
.
253
transform.
. . . . .
.
.
.
.
.
.
.
.
272
binary_search
. . . .
.
.
.
.
.
.
.
.
254
unique
. . . . . .
.
.
.
.
.
.
.
.
272
copy
. . . . . . .
.
.
.
.
.
.
.
.
254
unique_copy
. . . .
.
.
.
.
.
.
.
.
273
copy_backward.
. . .
.
.
.
.
.
.
.
.
254
upper_bound
. . . .
.
.
.
.
.
.
.
.
273
count
. . . . . . .
.
.
.
.
.
.
.
.
254
<deque>
. . . . . . .
.
.
.
.
.
.
.
.
274
count_if
. . . . . .
.
.
.
.
.
.
.
.
255
deque
. . . . . . .
.
.
.
.
.
.
.
.
274
equal
. . . . . . .
.
.
.
.
.
.
.
.
255
operator!=
. . . . .
.
.
.
.
.
.
.
.
281
equal_range
. . . . .
.
.
.
.
.
.
.
.
255
operator==
. . . . .
.
.
.
.
.
.
.
.
281
fill
. . . . . . . .
.
.
.
.
.
.
.
.
255
operator<.
. . . . .
.
.
.
.
.
.
.
.
282
fill_n
. . . . . . .
.
.
.
.
.
.
.
.
256
operator<=
. . . . .
.
.
.
.
.
.
.
.
282
find
. . . . . . .
.
.
.
.
.
.
.
.
256
operator>.
. . . . .
.
.
.
.
.
.
.
.
282
find_end
. . . . . .
.
.
.
.
.
.
.
.
256
operator>=
. . . . .
.
.
.
.
.
.
.
.
282
find_first_of
. . . . .
.
.
.
.
.
.
.
.
256
swap
. . . . . . .
.
.
.
.
.
.
.
.
282
find_if
. . . . . . .
.
.
.
.
.
.
.
.
257
<functional>.
. . . . .
.
.
.
.
.
.
.
.
282
for_each
. . . . . .
.
.
.
.
.
.
.
.
257
binary_function.
. . .
.
.
.
.
.
.
.
.
285
generate
. . . . . .
.
.
.
.
.
.
.
.
257
binary_negate
. . . .
.
.
.
.
.
.
.
.
285
generate_n
. . . . .
.
.
.
.
.
.
.
.
257
bind1st
. . . . . .
.
.
.
.
.
.
.
.
285
includes
. . . . . .
.
.
.
.
.
.
.
.
257
bind2nd
. . . . . .
.
.
.
.
.
.
.
.
285
inplace_merge
. . . .
.
.
.
.
.
.
.
.
258
binder1st
. . . . . .
.
.
.
.
.
.
.
.
286
iter_swap.
. . . . .
.
.
.
.
.
.
.
.
258
binder2nd
. . . . .
.
.
.
.
.
.
.
.
286
lexicographical_compare.
.
.
.
.
.
.
.
.
258
const_mem_fun_t
. . .
.
.
.
.
.
.
.
.
286
lower_bound
. . . .
.
.
.
.
.
.
.
.
259
const_mem_fun_ref_t
. .
.
.
.
.
.
.
.
.
287
make_heap
. . . . .
.
.
.
.
.
.
.
.
259
const_mem_fun1_t.
. .
.
.
.
.
.
.
.
.
287
max
. . . . . . .
.
.
.
.
.
.
.
.
259
const_mem_fun1_ref_t
.
.
.
.
.
.
.
.
.
287
max_element
. . . .
.
.
.
.
.
.
.
.
259
divides
. . . . . .
.
.
.
.
.
.
.
.
287
merge
. . . . . . .
.
.
.
.
.
.
.
.
260
equal_to
. . . . . .
.
.
.
.
.
.
.
.
287
min
. . . . . . .
.
.
.
.
.
.
.
.
260
greater
. . . . . .
.
.
.
.
.
.
.
.
288
min_element
. . . .
.
.
.
.
.
.
.
.
261
greater_equal
. . . .
.
.
.
.
.
.
.
.
288
mismatch
. . . . . .
.
.
.
.
.
.
.
.
261
hash . . . . . . .
.
.
.
.
.
.
.
.
288
next_permutation
. . .
.
.
.
.
.
.
.
.
261
less
. . . . . . . .
.
.
.
.
.
.
.
.
288
nth_element
. . . . .
.
.
.
.
.
.
.
.
262
less_equal . . . . .
.
.
.
.
.
.
.
.
288
partial_sort
. . . . .
.
.
.
.
.
.
.
.
262
logical_and
. . . . .
.
.
.
.
.
.
.
.
288
partial_sort_copy
. . .
.
.
.
.
.
.
.
.
262
logical_not
. . . . .
.
.
.
.
.
.
.
.
289
partition
. . . . . .
.
.
.
.
.
.
.
.
263
logical_or.
. . . . .
.
.
.
.
.
.
.
.
289
pop_heap.
. . . . .
.
.
.
.
.
.
.
.
263
mem_fun
. . . . . .
.
.
.
.
.
.
.
.
289
prev_permutation
. . .
.
.
.
.
.
.
.
.
263
mem_fun_ref
. . . .
.
.
.
.
.
.
.
.
289
push_heap
. . . . .
.
.
.
.
.
.
.
.
264
mem_fun_t
. . . . .
.
.
.
.
.
.
.
.
289
random_shuffle.
. . .
.
.
.
.
.
.
.
.
264
vi
Standard
C++
Library
mem_fun_ref_t
. . . . .
.
.
.
.
.
.
.
290
operator>.
. . . . .
.
.
.
.
.
.
.
.
336
mem_fun1_t
. . . . . .
.
.
.
.
.
.
.
290
operator>=
. . . . .
.
.
.
.
.
.
.
.
336
mem_fun1_ref_t
. . . .
.
.
.
.
.
.
.
290
swap
. . . . . . .
.
.
.
.
.
.
.
.
336
minus
. . . . . . . .
.
.
.
.
.
.
.
290
<memory>
. . . . . .
.
.
.
.
.
.
.
.
336
modulus
. . . . . . .
.
.
.
.
.
.
.
290
allocator
. . . . . .
.
.
.
.
.
.
.
.
337
multiplies
. . . . . .
.
.
.
.
.
.
.
290
allocator<void>.
. . .
.
.
.
.
.
.
.
.
340
negate
. . . . . . . .
.
.
.
.
.
.
.
291
auto_ptr
. . . . . .
.
.
.
.
.
.
.
.
340
not1
. . . . . . . .
.
.
.
.
.
.
.
291
get_temporary_buffer.
.
.
.
.
.
.
.
.
.
343
not2
. . . . . . . .
.
.
.
.
.
.
.
291
operator!=
. . . . .
.
.
.
.
.
.
.
.
343
not_equal_to
. . . . .
.
.
.
.
.
.
.
291
operator==
. . . . .
.
.
.
.
.
.
.
.
343
plus
. . . . . . . .
.
.
.
.
.
.
.
291
raw_storage_iterator
. .
.
.
.
.
.
.
.
.
343
pointer_to_binary_function
.
.
.
.
.
.
.
.
291
return_temporary_buffer
.
.
.
.
.
.
.
.
344
pointer_to_unary_function
.
.
.
.
.
.
.
.
291
uninitialized_copy
. . .
.
.
.
.
.
.
.
.
345
ptr_fun
. . . . . . .
.
.
.
.
.
.
.
292
uninitialized_fill
. . .
.
.
.
.
.
.
.
.
345
unary_function
. . . . .
.
.
.
.
.
.
.
292
uninitialized_fill_n
. .
.
.
.
.
.
.
.
.
345
unary_negate
. . . . .
.
.
.
.
.
.
.
292
<numeric>
. . . . . .
.
.
.
.
.
.
.
.
345
<iterator>
. . . . . . .
.
.
.
.
.
.
.
293
accumulate
. . . . .
.
.
.
.
.
.
.
.
346
advance
. . . . . . .
.
.
.
.
.
.
.
294
adjacent_difference
. .
.
.
.
.
.
.
.
.
346
back_insert_iterator
. . .
.
.
.
.
.
.
.
294
inner_product
. . . .
.
.
.
.
.
.
.
.
346
back_inserter
. . . . .
.
.
.
.
.
.
.
296
partial_sum
. . . . .
.
.
.
.
.
.
.
.
347
bidirectional_iterator_tag
.
.
.
.
.
.
.
.
296
<queue>
. . . . . . .
.
.
.
.
.
.
.
.
347
distance
. . . . . . .
.
.
.
.
.
.
.
296
operator!=
. . . . .
.
.
.
.
.
.
.
.
348
forward_iterator_tag
. . .
.
.
.
.
.
.
.
296
operator==
. . . . .
.
.
.
.
.
.
.
.
348
front_insert_iterator
. . .
.
.
.
.
.
.
.
296
operator<.
. . . . .
.
.
.
.
.
.
.
.
348
front_inserter
. . . . .
.
.
.
.
.
.
.
297
operator<=
. . . . .
.
.
.
.
.
.
.
.
348
input_iterator_tag
. . . .
.
.
.
.
.
.
.
298
operator>.
. . . . .
.
.
.
.
.
.
.
.
348
insert_iterator
. . . . .
.
.
.
.
.
.
.
298
operator>=
. . . . .
.
.
.
.
.
.
.
.
348
inserter
. . . . . . .
.
.
.
.
.
.
.
299
priority_queue
. . . .
.
.
.
.
.
.
.
.
348
istream_iterator.
. . . .
.
.
.
.
.
.
.
299
queue
. . . . . . .
.
.
.
.
.
.
.
.
351
istreambuf_iterator
. . .
.
.
.
.
.
.
.
300
<set>
. . . . . . . .
.
.
.
.
.
.
.
.
353
iterator
. . . . . . .
.
.
.
.
.
.
.
302
multiset
. . . . . .
.
.
.
.
.
.
.
.
354
iterator_traits
. . . . .
.
.
.
.
.
.
.
302
operator!=
. . . . .
.
.
.
.
.
.
.
.
360
operator!=
. . . . . .
.
.
.
.
.
.
.
303
operator==
. . . . .
.
.
.
.
.
.
.
.
360
operator==
. . . . . .
.
.
.
.
.
.
.
303
operator<.
. . . . .
.
.
.
.
.
.
.
.
360
operator<.
. . . . . .
.
.
.
.
.
.
.
304
operator<=
. . . . .
.
.
.
.
.
.
.
.
361
operator<=
. . . . . .
.
.
.
.
.
.
.
304
operator>.
. . . . .
.
.
.
.
.
.
.
.
361
operator>.
. . . . . .
.
.
.
.
.
.
.
304
operator>=
. . . . .
.
.
.
.
.
.
.
.
361
operator>=
. . . . . .
.
.
.
.
.
.
.
304
set
. . . . . . . .
.
.
.
.
.
.
.
.
361
operator+.
. . . . . .
.
.
.
.
.
.
.
304
swap
. . . . . . .
.
.
.
.
.
.
.
.
367
operator-
. . . . . . .
.
.
.
.
.
.
.
304
<stack>
. . . . . . .
.
.
.
.
.
.
.
.
368
ostream_iterator
. . . .
.
.
.
.
.
.
.
304
operator!=
. . . . .
.
.
.
.
.
.
.
.
368
ostreambuf_iterator
. . .
.
.
.
.
.
.
.
306
operator==
. . . . .
.
.
.
.
.
.
.
.
368
output_iterator_tag
. . .
.
.
.
.
.
.
.
307
operator<.
. . . . .
.
.
.
.
.
.
.
.
368
random_access_iterator_tag.
.
.
.
.
.
.
.
307
operator<=
. . . . .
.
.
.
.
.
.
.
.
369
reverse_iterator
. . . . .
.
.
.
.
.
.
.
307
operator>.
. . . . .
.
.
.
.
.
.
.
.
369
<list>
. . . . . . . . .
.
.
.
.
.
.
.
310
operator>=
. . . . .
.
.
.
.
.
.
.
.
369
list
. . . . . . . . .
.
.
.
.
.
.
.
310
stack
. . . . . . .
.
.
.
.
.
.
.
.
369
operator!=
. . . . . .
.
.
.
.
.
.
.
319
<unordered_map>.
. . .
.
.
.
.
.
.
.
.
371
operator==
. . . . . .
.
.
.
.
.
.
.
319
unordered_map
. . .
.
.
.
.
.
.
.
.
371
operator<.
. . . . . .
.
.
.
.
.
.
.
319
unordered_multimap
. .
.
.
.
.
.
.
.
.
378
operator<=
. . . . . .
.
.
.
.
.
.
.
319
<unordered_set>
. . . .
.
.
.
.
.
.
.
.
386
operator>.
. . . . . .
.
.
.
.
.
.
.
319
unordered_multiset
. .
.
.
.
.
.
.
.
.
386
operator>=
. . . . . .
.
.
.
.
.
.
.
319
unordered_set
. . . .
.
.
.
.
.
.
.
.
393
swap
. . . . . . . .
.
.
.
.
.
.
.
320
<utility>
. . . . . . .
.
.
.
.
.
.
.
.
400
<map>
. . . . . . . .
.
.
.
.
.
.
.
320
make_pair
. . . . .
.
.
.
.
.
.
.
.
401
map
. . . . . . . .
.
.
.
.
.
.
.
321
operator!=
. . . . .
.
.
.
.
.
.
.
.
401
multimap.
. . . . . .
.
.
.
.
.
.
.
328
operator==
. . . . .
.
.
.
.
.
.
.
.
401
operator!=
. . . . . .
.
.
.
.
.
.
.
335
operator<.
. . . . .
.
.
.
.
.
.
.
.
401
operator==
. . . . . .
.
.
.
.
.
.
.
335
operator<=
. . . . .
.
.
.
.
.
.
.
.
402
operator<.
. . . . . .
.
.
.
.
.
.
.
335
operator>.
. . . . .
.
.
.
.
.
.
.
.
402
operator<=
. . . . . .
.
.
.
.
.
.
.
336
operator>=
. . . . .
.
.
.
.
.
.
.
.
402
vii
Contents
pair
. . . .
.
.
.
.
.
.
.
.
.
.
.
402
is_same
. . . .
..
.
.
.
.
.
.
.
.
424
<vector>
. . . .
.
.
.
.
.
.
.
.
.
.
.
403
is_convertible
. .
..
.
.
.
.
.
.
.
.
424
operator!=
. .
.
.
.
.
.
.
.
.
.
.
.
403
is_base_of . . .
..
.
.
.
.
.
.
.
.
424
operator==
. .
.
.
.
.
.
.
.
.
.
.
.
403
Relationships
Between
Types
.
.
.
.
.
.
.
.
425
operator<.
. .
.
.
.
.
.
.
.
.
.
.
.
404
remove_const
. .
..
.
.
.
.
.
.
.
.
425
operator<=
. .
.
.
.
.
.
.
.
.
.
.
.
404
remove_volatile
.
..
.
.
.
.
.
.
.
.
425
operator>.
. .
.
.
.
.
.
.
.
.
.
.
.
404
remove_cv
. . .
..
.
.
.
.
.
.
.
.
425
operator>=
. .
.
.
.
.
.
.
.
.
.
.
.
404
add_const
. . .
..
.
.
.
.
.
.
.
.
425
swap
. . . .
.
.
.
.
.
.
.
.
.
.
.
404
add_volatile
. . .
..
.
.
.
.
.
.
.
.
426
vector
. . . .
.
.
.
.
.
.
.
.
.
.
.
404
add_cv
. . . .
..
.
.
.
.
.
.
.
.
426
vector<bool,
A>
.
.
.
.
.
.
.
.
.
.
.
411
remove_reference
.
..
.
.
.
.
.
.
.
.
426
add_reference
. .
..
.
.
.
.
.
.
.
.
426
remove_pointer.
.
..
.
.
.
.
.
.
.
.
426
Appendix.
Type
Traits
. . . . . . . .
415
add_pointer
. . .
..
.
.
.
.
.
.
.
.
426
Implementation
Notes
. .
.
.
.
.
.
.
.
.
415
remove_extent
. .
..
.
.
.
.
.
.
.
.
427
Header
file
<type_traits>
.
.
.
.
.
.
.
.
.
416
remove_all_extents
..
.
.
.
.
.
.
.
.
427
Helper
Class
. . . . .
.
.
.
.
.
.
.
.
417
aligned_storage.
.
..
.
.
.
.
.
.
.
.
427
The
Traits
. . . . . .
.
.
.
.
.
.
.
.
417
Unary
Type
Traits
. . . .
.
.
.
.
.
.
.
.
417
Notices
. . . . . . . . . . . . . .
429
Primary
Type
Categories
.
.
.
.
.
.
.
.
418
Composite
Type
Traits
.
.
.
.
.
.
.
.
.
419
References .
.
.
.
.
.
.
.
.
.
.
.
.
.
431
Type
Properties.
. . .
.
.
.
.
.
.
.
.
420
Bug
Reports
.
.
.
.
.
.
.
.
.
.
.
.
.
.
431
Binary
Type
Traits
. . . .
.
.
.
.
.
.
.
.
424
viii
Standard
C++
Library