V
valid
, program, 740
valid but unspecified, 537
valid pointer, 52
dynamically allocated, object, 459
map subscript operator, 435
new[]
, 478resize
, 352sequential container, 336
tuple
, 718uses default constructor, 293
vector
, 98
value_type
valuelike class, copy control, 512
varargs
, 222
variable, 8, 28, 41, 41–49, 80
const
, 59constexpr
, 66declaration, 45
class type, 294
define before use, 46
extern
, 45extern
andconst
, 60is lvalue, 533
lifetime, 204
preprocessor, 79
declaration dependencies, 702
forwarding, 704
usage pattern, 706
function matching, 702
parameter pack, 699
print
program, 701recursive function, 701
sizeof...
, 700
see alsocontainer
see alsosequential container
see alsoiterator
=
(assignment), list initialization, 145at
, 348capacity
, 356capacity program, 357
definition, 97
difference_type
, 112erase
, changes container size, 385initialization from array, 125
memory management, 355
overview, 326
push_back
, invalidates iterator, 354random-access iterator, 412
reserve
, 356subscript range, 105
TextQuery
class, 485
see alsofunction matching
ambiguities, 812
Bear
, 812class derivation list, 812
conversion, 812
derived class constructor, 813
iostream
, 810name lookup, 812
order of destruction, 815
order of initialization, 814
ostream
, 810Raccoon
, 812ToyAnimal
, 815ZooAnimal
, 811
virtual function, 592, 595, 603–610, 650
compared to run-time type identification, 829
default argument, 607
derived class, 596
destructor, 622
exception specification, 781
final
specifier, 607in constructor, destructor, 627
multiple inheritance, 807
overloaded function, 621
overriding run-time binding, 607
overview, 595
pure, 609
return type, 606
scope, 620
type-sensitive equality, 829
virtual inheritance, seevirtual base class
Visual Studio, 5
return type, 223
conversion from pointer, 161
vowel counting, program, 179