overloaded operator, 552
unary_function
deprecated, 579
uncaught exception, 773
base class destructor not virtual, 622
bitwise operators and signed values, 153
caching
end()
iterator, 355
cstring
functions, 122
dangling pointer, 463
default initialized members of built-in type, 263
delete
of invalid pointer, 460
destination sequence too small, 382
element access empty container, 346
missing return statement, 224
misuse of smart pointer
get
, 466
omitting
[]
when deleting array, 479
out-of-range subscript, 93
out-of-range value assigned to signed type, 35
overflow and underflow, 140
pointer casts, 163
pointer comparisons, 123
return reference or pointer to local variable, 225
string
invalid initializer, 361
uninitialized
dynamic object, 458
local variable, 205
pointer, 54
variable, 45
using unconstructed memory, 482
using unmatched match object, 737
writing to a
const
object, 163
wrong deleter with smart pointer, 480
underflow_error
, 197
istream
, 761
multi-byte,
istream
, 763
single-byte,
istream
, 761
unget
, istream
, 761
uniform_int_distribution
, 746
uniform_real_distribution
, 750
pointer, undefined behavior, 54
variable, undefined behavior, 45
uninitialized_copy
, 483
move iterator, 543
uninitialized_fill
, 483
class type member, 848
assignment operators, 850
copy control, 851
default constructor, 850
deleted copy control, 849
placement
new
, 851
definition, 848
discriminant, 850
restrictions, 847
list
andforward_list
, 415
*
(dereference), 451
copy and assignment, 470
bound at compile time, 678
dynamically allocated array, 479
initialization, 470
pitfalls, 469
release
, 470
reset
, 470
return value, 471
transfer ownership, 470
with
new
, 470
unitbuf
, manipulator, 315
local to file, 791
replace file
static
, 792
see also container
see also associative container
bucket management, 444
compatible with
==
(equality), 710
key_type
requirements, 445
override default hash, 446
unordered_map
, 448
see also unordered container
*
(dereference), 429
adds element, 435
at
, 435
definition, 423
header, 420
list initialization, 423
word_count
program, 444
unordered_multimap
, 448
see also unordered container
*
(dereference), 429
definition, 423
has no subscript operator, 435
insert
, 433
list initialization, 423
unordered_multiset
, 448
see also unordered container
insert
, 433
iterator
, 429
list initialization, 423
override default hash, 446
unordered_set
, 448
see also unordered container
header, 420
iterator
, 429
list initialization, 423
unscoped enumeration, 832, 864
as
union
discriminant, 850
conversion to integer, 834
enum
, 832
char
, 34
conversion, 36
conversion from
signed
, 34
conversion to
signed
, 160
literal (num
U
or numu
), 41
size
return type, 88
unsigned type, 34
upper_bound
algorithm, 873
ordered container, 438
used in
Basket
, 632
uppercase
, manipulator, 755
use count, see reference count
user-defined conversion, see class type conversion
const
andconstexpr
, 76
default argument, 238
function declaration, 207
#include
, 21
inline
function, 240
inline
member function definition, 273
template definition, 656
template specialization, 708
using =
, see
type alias declaration
using
declaration, 82, 132, 793, 818
access control, 615
not in header files, 83
overloaded function, 800
overloaded inherited functions, 621
scope, 793
overloaded function, 801
pitfalls, 795
name collisions, 795
utility
header, 426, 530, 533, 694