Skip to content
Snippets Groups Projects
Commit b267f8b6 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: add failsafe accessors for ITstream

- failsafe examine elements: peek(), peekFirst(), peekLast()
- failsafe traversing: skip()

  For example,

      ITstream& is = dict.lookup(key);
      if (is.peek().isWord())
      {
          is.skip();
      }
parent 9dc3d2bf
Branches
Tags
1 merge request!444improve flexiblity of IOdictionary construction, use of ITstream, Function1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment