title: For std::istream::ignore, could you set it to skip an infinite number of characters until delim is reached?
body: <p>I need my program to delete comments from the text, however, since comments could be pretty long, it would be hard to determine the right value for the count. Is it possible to use ignore() in this way, or should I look for another function?</p>