I don't think that's true. The default constructor for std::string creates an empty string. See: https://www.cplusplus.com/reference/string/string/string/
The semantics of c++ object initialization are such that a constructor will always be called.
The semantics of c++ object initialization are such that a constructor will always be called.
No comments yet.