Symbols
...
(ellipsis parameter), 222
//
(single-line comment), 9, 26
= delete
, 507
_ _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
~
classname, seedestructor
;
(semicolon), 3
++
(increment), 12, 28, 147–149, 170
--
(decrement), 13, 28, 147–149, 170
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
->*
(pointer to member arrow), 837
.*
(pointer to member dot), 837
[]
(subscript), 93
array
, 347bitset
, 727deque
, 347does not add elements, 104
adds element, 435
multidimensional array, 127
out-of-range index, 93
overloaded operator, 564
pointer, 121
StrVec
, 565subscript range, 95
()
(call operator), 23, 28, 202, 252
absInt
, 571const
member function, 573execution flow, 203
overloaded operator, 571
PrintString
, 571ShorterString
, 573SizeComp
, 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 alsocopy assignment
see alsomove assignment
associativity, 145
base from derived, 603
derived class, 626
in condition, 146
initializer_list
, 563list initialization, 145
low precedence, 146
multiple inheritance, 805
pointer, 55
to
signed
, 35to
unsigned
, 35vs.
==
(equality), 146vs. initialization, 42
+=
(compound assignment), 12, 28, 147
-
(subtraction), 140
*
(multiplication), 140
/
(division), 140
rounding, 141
%
(modulus), 141
grading program, 176
arithmetic conversion, 144
Sales_data
, 561string
, 88tuple
, 720unordered container
key_type
, 443vs.
=
(assignment), 146
!=
(inequality), 28
ordered container
key_type
, 425overloaded operator, 562
strict weak ordering, 562
string
, 88tuple
, 720
<=
(less-than-or-equal), 12, 28, 143
>=
(greater-than-or-equal), 28, 143
chained-input, 8
istream
, 8istream_iterator
, 403precedence and associativity, 155
Sales_data
, 558Sales_item
, 21
bitset
, 727chained output, 7
ostream
, 7ostream_iterator
, 405precedence and associativity, 155
Query
, 641Sales_data
, 557Sales_item
, 21
&&
(logical AND), 94, 132, 142, 169
||
(logical OR), 142
!
(logical NOT), 87, 132, 143, 170
?:
(conditional operator), 151, 169
+
(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, seebit-field