U
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, 355cstring
functions, 122dangling pointer, 463
default initialized members of built-in type, 263
delete
of invalid pointer, 460destination sequence too small, 382
element access empty container, 346
missing return statement, 224
misuse of smart pointer
get
, 466omitting
[]
when deleting array, 479out-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, 361uninitialized
dynamic object, 458
local variable, 205
pointer, 54
variable, 45
using unconstructed memory, 482
using unmatched match object, 737
writing to a
const
object, 163wrong deleter with smart pointer, 480
underflow_error
, 197
unget
, istream
, 761
uniform_int_distribution
, 746
uniform_real_distribution
, 750
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
, 851definition, 848
discriminant, 850
restrictions, 847
list
andforward_list
, 415
*
(dereference), 451copy and assignment, 470
bound at compile time, 678
dynamically allocated array, 479
initialization, 470
pitfalls, 469
release
, 470reset
, 470return value, 471
transfer ownership, 470
with
new
, 470
unitbuf
, manipulator, 315
see alsocontainer
see alsoassociative container
bucket management, 444
compatible with
==
(equality), 710key_type
requirements, 445override default hash, 446
unordered_map
, 448
see alsounordered container
*
(dereference), 429adds element, 435
at
, 435definition, 423
header, 420
list initialization, 423
word_count
program, 444
unordered_multimap
, 448
see alsounordered container
*
(dereference), 429definition, 423
has no subscript operator, 435
insert
, 433list initialization, 423
unordered_multiset
, 448
see alsounordered container
insert
, 433iterator
, 429list initialization, 423
override default hash, 446
unordered_set
, 448
see alsounordered container
header, 420
iterator
, 429list initialization, 423
unscoped enumeration, 832, 864
char
, 34conversion, 36
conversion from
signed
, 34conversion to
signed
, 160literal (num
U
or numu
), 41size
return type, 88
unsigned type, 34
upper_bound
uppercase
, manipulator, 755
use count, seereference count
user-defined conversion, see class type conversion
const
andconstexpr
, 76default argument, 238
function declaration, 207
#include
, 21inline
function, 240inline
member function definition, 273template definition, 656
template specialization, 708
using =
, seetype alias declaration