1

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?

Guillaume Paris
  • 10,303
  • 14
  • 70
  • 145

1 Answers1

4

No. The constructor from std::string was added in C++11.

ecatmur
  • 152,476
  • 27
  • 293
  • 366