You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::istream& safeGetline(std::istream& is, std::string& t); // safely gets a line across platforms, by removing any trailing '\r' characters. If eofok=FALSE, then an error is thrown if end-of-file is encountered, on the expectation that it could be due to missing all the end-of-line characers (i.e. only '\r' are present)