...
(ellipsis parameter), 222
//
(single-line comment), 9, 26
copy-control members, 506
default constructor, 265
= delete
, 507
default constructor, 507
function matching, 508
move operations, 538
_ _DATE_ _
, 242
_ _FILE_ _
, 242
_ _LINE_ _
, 242
_ _TIME_ _
, 242
_ _cplusplus
, 860
\0
(null character), 39
\X
nnn (hexadecimal escape sequence), 39
\n
(newline character), 39
\t
(tab character), 39
\
nnn (octal escape sequence), 39
standard header, 6
user-defined header, 21
~
classname, see
destructor
;
(semicolon), 3
class definition, 73
null statement, 172
++
(increment), 12, 28, 147–149, 170
pointer, 118
precedence and associativity, 148
reverse iterator, 407
StrBlobPtr
, 566
--
(decrement), 13, 28, 147–149, 170
iterator, 107
pointer, 118
precedence and associativity, 148
StrBlobPtr
, 566
iterator, 107
map iterators, 429
overloaded operator, 569
pointer, 53
precedence and associativity, 148
smart pointer, 451
StrBlobPtr
, 569
overloaded operator, 554
->
(arrow operator), 110, 132, 150
overloaded operator, 569
StrBlobPtr
, 569
->*
(pointer to member arrow), 837
.*
(pointer to member dot), 837
[]
(subscript), 93
array
, 347
bitset
, 727
deque
, 347
does not add elements, 104
adds element, 435
multidimensional array, 127
out-of-range index, 93
overloaded operator, 564
pointer, 121
StrVec
, 565
subscript range, 95
()
(call operator), 23, 28, 202, 252
absInt
, 571
const
member function, 573
execution flow, 203
overloaded operator, 571
PrintString
, 571
ShorterString
, 573
SizeComp
, 573
::
(scope operator), 8, 28, 82
base-class member, 607
container, type members, 333
member function, definition, 259
overrides name lookup, 286
=
(assignment), 12, 28, 144–147
see also copy assignment
see also move assignment
associativity, 145
base from derived, 603
derived class, 626
in condition, 146
initializer_list
, 563
list initialization, 145
low precedence, 146
multiple inheritance, 805
pointer, 55
to
signed
, 35
to
unsigned
, 35
vs.
==
(equality), 146
vs. initialization, 42
+=
(compound assignment), 12, 28, 147
bitwise operators, 155
iterator, 111
Sales_data
, 564
exception version, 784
string
, 89
iterator, 111
pointer, 119
Sales_data
, 560
exception version, 784
Sales_item
, 22
SmallInt
, 588
string
, 89
-
(subtraction), 140
iterator, 111
pointer, 119
*
(multiplication), 140
/
(division), 140
rounding, 141
%
(modulus), 141
grading program, 176
arithmetic conversion, 144
Sales_data
, 561
string
, 88
tuple
, 720
unordered container
key_type
, 443
vs.
=
(assignment), 146
!=
(inequality), 28
arithmetic conversion, 144
overloaded operator, 562
Sales_data
, 561
string
, 88
tuple
, 720
ordered container
key_type
, 425
overloaded operator, 562
strict weak ordering, 562
string
, 88
tuple
, 720
<=
(less-than-or-equal), 12, 28, 143
string
, 88
string
, 88
>=
(greater-than-or-equal), 28, 143
string
, 88
chained-input, 8
istream
, 8
istream_iterator
, 403
precedence and associativity, 155
Sales_data
, 558
Sales_item
, 21
bitset
, 727
chained output, 7
ostream
, 7
ostream_iterator
, 405
precedence and associativity, 155
Query
, 641
Sales_data
, 557
Sales_item
, 21
&&
(logical AND), 94, 132, 142, 169
order of evaluation, 138
overloaded operator, 554
short-circuit evaluation, 142
||
(logical OR), 142
order of evaluation, 138
overloaded operator, 554
short-circuit evaluation, 142
!
(logical NOT), 87, 132, 143, 170
order of evaluation, 138
overloaded operator, 554
?:
(conditional operator), 151, 169
order of evaluation, 138
precdence and associativity, 151
+
(unary plus), 140
-
(unary minus), 140
L'
c'
(wchar_t
literal), 38
ddd.dddL
or ddd.dddl
(long double
literal), 41
numE
num or nume
num (double
literal), 39
numF
or numf
(float
literal), 41
numL
or numl
(long
literal), 41
numLL
or numll
(long long
literal), 41
numU
or numu
(unsigned
literal), 41
class member:
constant expression, see
bit-field