default_initialization

default initialization

Return to default initialized

default initialization - initialization that (1) for a class type, invokes the constructor that would be invoked if the initializer were empty parentheses (i.e., () ), (2) for an array type, default initializes each of its elements, and (3) in all other cases, performs no initialization. Note that default initialization can occur either because no initializer is supplied or as the result of value initialization. Braced Init (216), constexpr Functions (273), Rvalue References (765)” (EMCppSfe 2021)

default_initialization.txt · Last modified: 2024/04/28 03:33 by 127.0.0.1