📄 indextxt.htm
字号:
EC++ CD: Book's IndexBooks' IndexThis index contains the index entries from Effective C++ and More Effective C++. It has no information about the CD's magazine articles, nor does it cover CD-specific pages like the Introduction. To perform a comprehensive search of everything on the CD, use the search applet.Within the index, page numbers corresponding to Effective C++ are preceded by an E. Those corresponding to More Effective C++ are preceded by an M. Hence, E126 means page 126 of Effective C++, and M15 means page 15 not Item 15! of More Effective C++.Example classes and class templates used in the books are indexed under example classes/templates. Example function and function templates are indexed under example functions/templates. Many example uses of new and lesser-known language features are indexed under example uses.In this index, the term definition refers to a C++ definition. English definitions definitions of terms are labeled "definition (English)" and are summarized under English definitions.Before A #define M294.cpp files E138?:, vs. if/then M56__cplusplus M273">>", vs. "> >" M290, see zero1066 E15480-20 rule E143, E168, M79, M82-M85, M10690-10 rule Mxi, M82A abort E26assert and M167object destruction and M72relationship to terminateM72violated exception specifications and E28abstract classes E161, E201definition (English) E63drawing M5identifying M267, M268inheritance and M258, M270transforming from concrete M266-M269abstract mixin base classes M154abstractionsfunctional E89-E90identifying M267, M268useful M267access-declarations M144accessibilitycontrol over data members' E89restrictionshandles and E124inheritance and E115Ada E57, E224adding data and functions to classes at runtime M287address comparisons to determine object locations M150-M152address equality E75addresses, of inline functions E140address-of operator, see operator&adjacent differences E231Advanced C++: Programming Styles and Idioms Exvii, Exviii, M287Adventure, allusion to M271Afshar, Jamshid Mxiialgorithms, in standard C++ library E229aliasing E52, E53, E75-E76, E101definition (English) E72Alice's Restaurant, allusion to E43allocation, see memory management, operator new, memory allocationallocators E227ambiguitydeliberately introducing E111diamonds and E200libraries and E114MI and E114-E115, E195, E200potential E113-E116type conversions and E113-E114American National Standards Institute (ANSI) E234amortizing computational costs M93-M98Annotated C++ Reference Manual, The, see ARMANSI/ISO standardization committee, see ISO/ANSI standardization committeeAPL M92application framework M234approximatingsee also enum hackbool E10,M3-M4C++-style casts M15-M16const static data members M141explicit M29-M31in-class using declarations M144mutable M89-M90namespaces E119-E122virtual functions M121vtbls M235-M251Arbiter, Petronius EiARM (The Annotated C++ Reference Manual) Exvii, E61, E138, E195, E196, E235-E236, Mxii, M277, M285array new E36, M42arraysassociative M236, M237auto_ptr and M48default constructors and M19-M21dynamic M96, M98inheritance and M17-M18memory allocation for M42-M43multi-dimensional M213-M217of objects with constructors E5-E6of pointers to functions M15, M113of pointers, as substitute for arrays of objects M20pointer arithmetic and M17pointers into M280using placement new to initialize M20-M21ASPECT_RATIO E13-E14<assert.h> E26assert macro E26abort and M167NDEBUG and E26assignmentarrays and E81in reference-counted value classes M196mixed-type M260, M261, M263-M265of members, see member assignmentof pointers and references M11operator, see operator=partial M259-M263, M265prohibiting E52through pointers M259, M260to base part of object E69-E70to self E71-E73vs. initialization E8-E9, E136associative arrays M236, M237author, contacting Exv, M8auto_ptr E25, M49, M53, M57, M58, M137, M139, M162, M240, M257assignment of M162-M165copying of M162-M165heap arrays and M48implementation M291-M294object ownership and M183pass-by-reference and M165pass-by-value and M164preventing resource leaks and M48, M58automatically generated functions E212-E216Avery, Katrina MxiiiB bad_alloc class M70, M75bad_cast class M70, M261, M262bad_exception class M70, M77bad_typeid class M70Barry, Dave, allusion to Exix, E234Barton, John J. M288base classessee also inheritancecatch clauses and M67constructor arguments E200delete and M18derived operator= and E69-E70for counting objects M141-M145initialization order E58initialization when virtual E200meaning when common E210nonvirtual E200virtual, see virtual base classesBASIC M156, M213basic_ostream template E226, E227basic_string class M279, M280Battle of Hastings E154Beauchaine, Bob MxiiiBecker, Pete Exviiibegin function M283behaviorundefined, see undefined behaviorcustomization via virtual functions E206-E207benchmarks M80, M110, M111Bengtsson, Johan ExixBern, David Exviii, ExixBesaw, Jayni Mxvbest fit M67Bible, allusion to M235binary upgradeability, inlining and E142bindingdynamic, see dynamic bindingstatic, see static bindingbirds and penguins E156-E158bitset template E229, M4, M283bitwise const member functions E94bitwise copyduring assignment E50, E213during copy construction E51, E213Blankenbaker, Paul Exixbloated code, due to templates E190block-local variables, defining E135-E137Body classes, see Handle/Body classesbookssee also recommended booksAdvanced C++: Programming Styles and Idioms Exvii, Exviii, M287ARM, The, see ARMC Programming Language, The Exviii, M36C++ Programming Language, The Exvii, M286C++ Programming Style Exviii, M287C++ Strategies and Tactics Exviii, MxiiiComputer Architecture: A Quantitative Approach MxiDesign and Evolution of C++, The E234, Mxiii, M278, M285Design Patterns CD: Elements of Reusable Object-Oriented Software M289Design Patterns: Elements of Reusable Object-Oriented Software M288Designing and Coding Reusable C++ Exviii, M288Effective C++ Mxii, M5, M100, M286International Standard for Information Systems Programming Language C++ E234Large-Scale C++ Software Design ExviiiMore Effective C++ E237-E238Scientific and Engineering C++ M288Some Must Watch While Some Must Sleep E154Taligent's Guide to Designing Programs Exviii, Mxiibool E9, M3, M4approximating E10Bosch, Derek Exixboss, pointy-haired E187Box, Don Mxii, MxiiiBraunegg, David ExixBrazile, Robert Exixbreakpoints, and inlining E142buffering, in iostreams E229bugs in Effective C++, reporting Exvbugs in More Effective C++, reporting M8Burkett, Steve Exviii, MxiiiBuroff, Steven Mxiibutterfly effect, the E221bypassingconstructors M21exception-related costs M79RTTI information M122smart pointer smartness M171strong typing M287virtual base classes M122virtual functions M122C Cdynamic memory allocation M275functions and name mangling M271headers, in standard C++ library E225linkage M272migrating to C++ M286mixing with C++ M270-M276standard library M278C Programming Language, The Exviii, M36C-style casts M12, M90C style comments, vs C++ style E21C Users Journal MxiiiC++dynamic memory allocation M275migrating from C M286mixing with C M270-M276standard library, see standard C++ libraryC++ Programming Language, The Exvii, M286C++ Programming Style Exviii, M287C++ Report Exvii, Exviii, Mxii, Mxiii, Mxv, M287, M289C++ Strategies and Tactics Exviii, MxiiiC++ style comments, vs. C style E21C++-style casts M12-M16approximating M15-M16C, Objective E195C, used in Effective C++ E12C/C++ Users Journal Exviii, Mxiii, M289c_str M27caching M94-M95, M98hit rate, inlining and E137callback functions M74-M75, M79calls to functions, see function callsCandide, allusion to M19Cargill, Tom Exviii, Exix, Mxii, Mxiii, Mxv, M44Carolan, John ExviiiCarroll, Glenn ExixCarroll, Martin Exviii, M288Casablanca, allusion to E96<cassert> E26castsadvantages of new vs. old forms E10C++-style M12-M16C-style M12, M90downcasts E176new forms for E10-E11of function pointers M15, M242safe M14temptations of E175to references E70to remove constness or volatileness E96-E97, E124, M13, M221catch M56see also pass-by-value, pass-by-reference, pass-by-pointerby pointer M70by reference M71by value M70clauses, order of examination M67-M68clauses, vs. virtual functions M67inheritance and M67temporary objects and M65cerr E226change, designing for M252-M270changes in second edition of Effective C++ Exiv-Exvchaos theory E221Chappell, Tom Exviiichar*s, vs. string classes E8, M4charactersUnicode M279wide M279Cheshire Cat classes E146-E149Chisholm, Paul Exixcin E226clairvoyance, and MI E199Clamage, Steve Exvii, Exviii, Exix, Mxii, Mxiii, MxivClancy, see Urbano, Nancy L.Claris, a guy at Exviiiclass definitionscompilation dependencies and E147object sizes and E145vs. class declarations E147classessee also class definitions, interfacesabstract E63, E161, M154drawing M5adding members at runtime M287base, see base classesBody E146-E149Cheshire Cat E146-E149concrete, drawing M5constants within E14-E15declaring E4vs. defining E147defining E5derived, see derived classesdesigning, see designdiagnostic, in the standard library M66Envelope/Letter E146-E149extent E59for collections E191for registering things M250for type-safe interfaces E192Handle/Body E146-E149hiding implementations E146-E152influence of type on behavior E186initialization order E58interface, efficiency of E194meaning of no virtual functions E61members, see membersmixin M154modifying, and recompilation M234, M249nested, and inheritance M197nested, examples E186, E218Protocol E149-E152, E173, E201proxy, see proxy classessharing common features E208specification, see interfacestemplates for, specializing M175transforming concrete into abstract M266-M269unnamed, compiler diagnostics and E112virtual base, see virtual base classesclass-specific constants E14-E15cleaning your room M85cleverness in the standard C++ library E108client, definition E9, M7CLOS E195, M230COBOL E113, M213, M272codeamazing E194bloat, due to templates E190generalizing M258incorrect, efficiency and E101, E124, E129, E131replication M47, M54, M142, M204, M223, M224avoiding E109, E191-E193un-inlined inline functions and E139reuse E202poor design and E206-E209via smart pointer templates and base classes M211via the standard library M5size, with inline functions E137Cok, David Mxiicollections, based on pointers E191Colvin, Gregory Mxiiicombiningfree with delete E20public and private inheritance E201-E205comma operator, see operator,comments#define and E21C style vs. C++ style E21eliminating E137within comments E21committee for C++ standardization, see ISO/ANSI standardization committeecommonbase classes, meaning of E210features, inheritance and E164, E208comp.lang.c++Exviii, Mxi, Mxii, Mxiii, M289comp.lang.c++.moderated M289comp.std.c++ Mxi, M290comparing addresses to determine object location M150-M152compatibilitywith C, as C++ design goal E233with other languages, vptrs and E61compilation dependenciesclass definitions and E147minimizing E143-E152pointers, references, and objects and E147compilersdiagnostics for unnamed classes E112lying to M241warnings from E223-E224compile-time errors E110benefits of E219vs. runtime errors E216complete interfaces E79, E184complex numbers M279, M280<complex> E225complex template E226, E231<complex.h> E225complexitiesof multiple inheritance E195-E201of virtual base classes E201composition, see layeringComputer Architecture: A Quantitative Approach Mxiconceptually const member functions E95-E97concrete classesdrawing M5inheritance and M258-M270transforming into abstract M266-M269concurrency E225conditionals and switches vs. virtual functions E176consistencyamong +, =, and +=, etc. M107between built-in and user-defined types M254between prefix and postfix operator++ and operator-- M34between real and virtual copy constructors M126public interfaces and E89with the built-in types E66, E78, E82, E92const E91-E97bitwise E94casting away E96-E97, E124conceptual E95-E97data members E53-E54in function declarations E92-E97member functions E92-E97, M89, M160, M218handles and E128members, in-class initialization of E14overloading on E92-E93pointers E91, E121return types M33-M34, M101return value E92, E125static data members, initialization M140uses E91vs. #define E13-E14const_cast E10, M13, M14, M15, M37, M90example use E96, E97, E124const_iterator type M127, M283constant pointers M55-M56constants E14see also constclass-specific E14-E15constness, casting away M13, M221constructing objects on top of one another M287constructionof local objects E131phases of E54with vs. without arguments E136constructors E77see also constructionarrays of objects and E5-E6as type conversion functions M27-M31bypassing M21calling directly M39copy, see copy constructorsdefault, see default constructorsempty, illusion of E141explicit E67, E85, M28-M31, M227, M294fully constructed objects and M52implicitly generated E212inlining and E140-E142lazy M88-M90malloc and E19-E20, M39manual invocation of E141memory leaks and M6object definitions and E135operator new and E141, M39, M149-M150operator new[] and M43passing arguments E200preventing exception-related resource leaks M50-M58private E218, M130, M137, M146protected M142pseudo, see pseudo-constructorspurpose M21references and M165relationship to new operator and operator new E23, M40single-argument M25, M27-M31, M177static initialization and M273static member initialization and E57, E58structs and E186virtual, see virtual constructorscontacting the author Exv, M8containers, see standard C++ librarycontainment, see layeringcontexts for object construction M136control over data members' accessibility E89conventionsfor I/O operators M128for names E11, E138, E144in the STL E232, M284
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -