defining_declaration

defining declaration

Return to Define - Definition, Declare - Declaration

defining declaration - one — such as class Foo { }; — that provides a complete definition of the entity being declared. Note that a typedef or using declaration (see Section 1.1.“using Aliases” on page 133) would not be considered defining because, according to the C++ Standard, neither is a definition. Also note that an opaque enumeration declaration does not provide the enumerators corresponding to the complete definition and, although sufficient to instantiate opaque objects of the enumerated type, does not allow for interpretation of their values; hence, it too would not be considered defining; see also nondefining declaration. Rvalue References (729)” (EMCppSfe 2021)

defining_declaration.txt · Last modified: 2024/04/28 03:33 (external edit)