This commit is contained in:
Frank B. Brokken 2023-10-02 13:42:13 +02:00
parent 4066451a30
commit 5138741bad

View file

@ -48,7 +48,7 @@ doesn't have to initialize the tt(string) data members of the tt(Person)
object. As these data members are objects themselves, they are initialized to
empty strings by their own default constructor. However, there is also a
tt(size_t) data member. That member is a variable of a built-in type and such
variabes do not have constructors and so are not initialized automatically.
variables do not have constructors and so are not initialized automatically.
Therefore, unless the value of the tt(d_mass) data member is explicitly
initialized its value is:
itemization(