Skip to content
Snippets Groups Projects
  1. Nov 12, 2017
    • Mark OLESEN's avatar
      ENH: changed return value to bool for Ostream::write(const token&) · 5281dd48
      Mark OLESEN authored
      - the return value signals if this method handled this particular type
        of token. This minor change allows this method to be used as a succinct
        prefilter an output token stream. It also provides better encapsulation
        of what the particular output stream handles.
      
        Eg,
      
            bool ok = os.write(tok);
            if (!ok)   // or   if (!ok && os.good())
            {
                os << tok;
            }
      
        instead of
      
            if (tok.type() == typeA || tok.type() == typeB || ...)
            {
                os.write(tok);
            }
            else
            {
                os << tok;
            }
      5281dd48
  2. Nov 09, 2017
  3. Nov 08, 2017
  4. Nov 07, 2017
  5. Nov 06, 2017
  6. Nov 05, 2017
  7. Nov 06, 2017
  8. Nov 04, 2017
  9. Aug 09, 2017
  10. Nov 04, 2017
  11. Nov 03, 2017
  12. Nov 01, 2017
  13. Oct 31, 2017
    • Mark OLESEN's avatar
      ENH: improvements to HashTable internals · 053a648e
      Mark OLESEN authored
      - make single-parameter construct (label) explicit
      - consolidate iterators
      - slightly reduced overhead for some HashSet types
      - improved resizing behaviour
      - compact output for empty Ptr hashes
      053a648e
  14. Oct 30, 2017
  15. Oct 31, 2017
  16. Oct 30, 2017