Why are there two different getline() functions (if indeed there are)?
Bear in mind that the Standard library is composed from 3 (main) parts: IOStream, String and STL, plus some tossed in goodies and the C-headers. I don’t see anything weird in having those parts loosely coupled (though I wish it was not the case). Other incongruities include: std::string::length vs std::string::size, the latter having been added for interface compatibility … Read more