H, 104, 585
long, 105
line input, 554
long double, 124
linkage, 122, 291
longjmp( ), 214, 854
alternate linkage specification, 313
loop, for, 217
controlling, 296
Love, Tom, 1075
external, 246, 247, 296
lvalue, 125, 251
internal, 244, 246, 247, 273, 296
machine instructions, 63
no, 123, 296
macro
type-safe, 232
argument, 270
linked list, 185, 205, 222
preprocessor, 127, 269
linker, 64, 66, 71, 170
preprocessor macros for parameterized types,
collision, 182
instead of templates, 482
object file order, 72
magic numbers, 243
pre-empting a library function, 72
main( )
searching libraries, 72, 94
executing code after exiting, 295
unresolved references, 72
executing code before entering, 295
list
main(), 75
constructor initializer, 257
maintaining class library source, 586
constructor initializer list, 419
make, 153
linked, 185, 205, 222
dependencies, 154
Lister, Timothy, 1075
macros, 154
local
malloc( ), 166, 391, 392, 394, 567, 606
classes, 306
and time, 394
static object, 294
mangling, name, 171, 176, 230, 313
local variables, 120
manipulator, 552
localtime( ), 597
creating, 582
logic_error
iostreams formatting, 577
Standard C++ library exception type, 874
mathematical operators, 125
logical
member
1097
calling a member function, 178
MI
const member function, 256
multiple inheritance, 826
const member functions, 260
minimum size of a struct, 179
defining storage for static data member, 303
mistakes, and design, 208
friend function, 196
modes, iostream open, 558
initializing const data members, 257
modulus, 125
member function selection, 174
modulus operator, 597
member function template, 612
member object initialization, 419
monolithic, 826
member selection operator, 176
Mortensen, Owen, 337
overloaded member operator, 342
multiple dispatching, 934
pointers to members, 335
multiple inclusion of header files, 182
static data member, 377
multiple inheritance, 441, 826
static data member inside a class, 303
ambiguity, 829
static member function, 266, 329
and exception handling, 878
static member functions, 307
and run-time type identification, 890, 894, 899
vs. non-member operators, 365
and upcasting, 836
memberwise
avoiding, 846
assignment, 378
diamonds, 829
initialization, 334
duplicate subobjects, 828
memberwise const, 263
most-derived class, 832
memory
overhead, 835
a memory allocation system, 606
pitfall, 842
allocation, 403
repairing an interface, 847
dynamic allocation, 390
upcasting, 829
dynamic memory allocation, 166
virtual base classes, 830
exhausting heap, 407
virtual base classes with a default constructor,
management, reference counting, 371
833
memory manager overhead, 394
multiplication, 125
read-only (ROM), 264
multitasking and volatile, 265
simple storage allocation system, 406
Murray, Rob, 367, 1053
memset( ), 258
mutable, 907
message, sending, 178, 452
bitwise vs. memberwise const, 263
methodology, software development, 46
mutators, 275
Meyers, Scott, 1053
naked pointers, and exception handling, 868
1098
name
operator new and constructor, out of memory, 410
clashes, 170
operator new placement specifier, 411
decoration, 176, 230
operator, exhausting storage, 402
file, 1047
overloaded, can take multiple arguments, 411
hiding, during inheritance, 424
overloading array new and delete, 867
mangling, 171, 176, 230, 313
overloading global new and delete, 404
mangling, no standard for, 231
overloading new and delete, 403
named constant, 123
overloading new and delete for a class, 406
overloading new and delete for arrays, 408
namespace, 297, 585
placement syntax, 867
aliasing, 298
newline, 582
ambiguity, 301
continuation, 298
no linkage, 123, 296
injection, 299
non-local goto, 214
overloading and using declaration, 302
setjmp( ) and longjmp( ), 854
referring to names in, 299
not equivalent (!=), 127
unnamed, 299
not, ! (logical NOT), 134
using, 299
not_eq, != (logical not-equivalent), 134
using declaration, 302
notifyObservers( ), 924, 926
narrowing conversions, 906
nuance, and overloading, 229
needless recompilation, 205
null references, 893
nested
NULL references, 318
class, 306
numerical operations
friends, 198
structures, 185
|