73 while ( !done && getline( is, tmp, delim ) ) {
76 size_t last = tmp.find_last_of( continuation );
79 size_t eows = tmp.find_last_not_of( WS );
93 tmp.erase( last + 1 );
118 tmp.erase( eows + 1 );
139 else if ( getline( is, str, delim ) ) {
144 size_t eows = str.find_last_not_of( WS );
145 str.erase( eows + 1 );
The suplib namespace encompasses all of the functions in the suplib++ library.
std::istream & getrecord(std::istream &is, std::string &str, int opt=READ_PHYS, char delim='\n', char continuation='\\')
Reads physical and logical lines.