An object which represents a set of characters which a Stream should ignore when parsing with operator>>. The parsed characters are discarded from the stream. At least one member of the set must appear or an error results. More...
#include <BIscan.h>
Public Member Functions | |
SKIPSET (char const *s) | |
SKIPSET (char const *f, char const *l) | |
Public Attributes | |
char const * | first_ |
char const * | last_ |
An object which represents a set of characters which a Stream should ignore when parsing with operator>>. The parsed characters are discarded from the stream. At least one member of the set must appear or an error results.
int x, y; stream("19 , 20") >> x >> SKIPSET(", ") >> y; // here, x will be 19 and and y will be 20 because the SKIPSET specifies that // space and comma re ignorable characters. However, there must be a match // or the parsing will stop.
Definition at line 1634 of file BIscan.h.