2 ms·
Constructors are often brought up as a reaction to C99 initializers, but they're really not the same thing at all until and unless we get named function argumen
by stormbrew 11y ago
Constructors are often brought up as a reaction to C99 initializers, but they're really not the same thing at all until and unless we get named function arguments in C++. Constructors as they exist are equivalent to the normal initializer syntax, which C++ does support.