80 while ( !done && getline( is, tmp, delim ) ) {
83 size_t last = tmp.find_last_of( continuation );
86 size_t eows = tmp.find_last_not_of( WS );
100 tmp.erase( last + 1 );
125 tmp.erase( eows + 1 );
146 else if ( getline( is, str, delim ) ) {
151 size_t eows = str.find_last_not_of( WS );
152 str.erase( eows + 1 );
The suplib namespace encompasses all of the functions in the suplib++ library.
istream & getrecord(istream &is, string &str, int opt=READ_PHYS, char delim='\n', char continuation='\\')
Reads physical and logical lines.