Is there any reasons – other than historical – to justify the fact std::ifstream/std::ofstream class take a char* and not a std::string to be constructed?
Is there any reasons – other than historical – to justify the fact std::ifstream/std::ofstream
Share
No. The constructor from
std::stringwas added in C++11.