3 ms·
The second is avoided if you use C++11-style initializers: string a{"Hello"}; string b{}; string c = string{"World"}; Many of the others also disa
by pdw 14y ago
The second is avoided if you use C++11-style initializers:
string a{"Hello"};
string b{};
string c = string{"World"};
Many of the others also disappear if you stick to a "modern" style.