Skip to content
Snippets Groups Projects
  1. May 29, 2017
    • Mark OLESEN's avatar
      d7a4088c
    • Mark OLESEN's avatar
      ENH: Enum class as drop-in alternative for NamedEnum · 8afc6cbd
      Mark OLESEN authored
      - the NamedEnum wrapper is somewhate too rigid.
        * All enumerated values are contiguous, starting as zero.
        * The implicit one-to-one mapping precludes using it for aliases.
        * For example, perhaps we want to support alternative lookup names for an
          enumeration, or manage an enumeration lookup for a sub-range.
      8afc6cbd
    • Mark OLESEN's avatar
      COMP: Hash.H was not included with HashTable/HashSet · 77a5b99e
      Mark OLESEN authored
      - was only included indirectly via FixedList.H
      77a5b99e
    • Mark OLESEN's avatar
      STYLE: use std::pair (not Tuple2) in conjunction with std::initializer_list · c6c79ab3
      Mark OLESEN authored
      - no penalty compared to Tuple2, potential future benefits with C++
        constructor forwarding.
      c6c79ab3
    • Mark OLESEN's avatar
      ENH: cleanup of NamedEnum · fb497164
      Mark OLESEN authored
      - Remove the unused enums() method since it delivers wholly unreliable
        results. It is not guaranteed to cover the full enumeration range,
        but only the listed names.
      
      - Remove the unused strings() method.
        Duplicated functionality of the words(), but was never used.
      
      - Change access of words() method from static to object.
        Better code isolation. Permits the constructor to take over
        as the single point of failure for bad input.
      
      - Add values() method
      
      - do not expose internal (HashTable) lookup since it makes it more
        difficult to enforce constness and the implementation detail should
        not be exposed. However leave toc() and sortedToc() for the interface.
      
      STYLE: relocated NamedEnum under primitives (was containers)
      
      - internal typedef as 'value_type' for some consistency with STL conventions
      fb497164
  2. May 26, 2017
  3. May 25, 2017
  4. May 24, 2017
  5. May 22, 2017
  6. May 19, 2017
  7. May 18, 2017
  8. May 17, 2017