3 ms·
> the reason for which it would no pass review is that today you use one compiler, tomorrow you have to use another Good thing then that it's mandated by the l
by pritambaral 10y ago
> the reason for which it would no pass review is that today you use one compiler, tomorrow you have to use another
Good thing then that it's mandated by the language reference, and not up to the compiler to decide. According to C++11, §21.4.2/1, an uninitialized std::string should be an object of class std::basic_string with non-null data and a size of 0.