rem: return getline(aIstrm, aStr, '\n');
add: aStr.clear(); char ch; while (aIstrm.get(ch)) { if (ch == aDelim) break; if (aStr.length() < aStr.max_size()) { aStr.append(1, ch); } } return aIstrm;
context: std::istream& getline(std::istream& aIstrm, DwString& aStr){    return getline(aIstrm, aStr, '\n');}