3 ms·
std::string has been in C++98, however, you couldn't use it to create a std::ifstream as it had only char* constructor. It took a decade to add a std::string c
by slezyr 6y ago
std::string has been in C++98, however, you couldn't use it to create a std::ifstream as it had only char* constructor.
It took a decade to add a std::string constructor...
- emlai 6y agoAnd it will probably take another decade to add a std::string_view constructor.