Using a value representing "uninitialized" is a symptom of a problem and not a solution:
@ -10607,7 +10607,7 @@ However, such examples do tend to leave uninitialized variables accessible, so t
int buf[max] = {}; // zero all elements; better in some situations
f.read(buf, max);
Because of the restrictive initialization rules for arrays and `std::array`, they offer the most commoncompelling examples of the need for this exception.
Because of the restrictive initialization rules for arrays and `std::array`, they offer the most compelling examples of the need for this exception.
When feasible use a library function that is known not to overflow. For example:
@ -19424,7 +19424,7 @@ Similarly for (w)memset, (w)memcpy, (w)memmove, and (w)memcmp
};
void f(derived& a, derived& b) // goodbye v-tables
void f(derived& a, derived& b) // goodbye v-tables