Skip to content
Snippets Groups Projects
  1. Jan 26, 2018
    • Mark OLESEN's avatar
      ENH: replace reverse iterators for UList · a0148ac0
      Mark OLESEN authored
      - use std::reverse_iterator adaptors, avoid the array-bounds warning
      - use pointer arithmetic instead of dereferencing the internal array
      
      - adjust logic to use 'operator<' instead of 'operator>' in sorting.
        This creates less work when making other classes sortable.
      a0148ac0
  2. Jan 25, 2018
    • Mark OLESEN's avatar
      ENH: improved swap/transfer methods for FixedList · d029f4c5
      Mark OLESEN authored
      - the transfer method was previously a copy
      
      - use std::reverse_iterator adaptors in FixedList
        This greatly reduces the amount of code and now avoids the array-bounds
        warning for FixedList::rend()
      
      - use pointer arithmetic instead of dereferencing the internal array
      d029f4c5
    • Mark OLESEN's avatar
      ENH: make hashedWordList movable · 8fc27e0e
      Mark OLESEN authored
      8fc27e0e
    • Mark OLESEN's avatar
      ENH: remove Foam::Swap specializations for HashSet, HashTable · 915e8c9f
      Mark OLESEN authored
      - without these will use the normal move construct + move assign.
        This is similarly efficient, but avoids the inadvertently having the
        incorrect Swap being used for derived classes.
      
      STYLE: remove unused xfer methods for HashTable, HashSet
      
      - unneeded since move construct and move assignment are possible
      915e8c9f
    • Mark OLESEN's avatar
      ENH: allow early completion in PackedBoolList::used() · 7ee93afe
      Mark OLESEN authored
      - can stop producing content when the target number of entries has
        been reached.
      
      - change return type to labelList instead an Xfer container.
        This allows return-value-optimization and avoids a surrounding
        allocation. This potentially breaks existing code.
      
      - make PackedList and PackedBoolList moveable. Drop xfer wrappers.
      7ee93afe
  3. Jan 23, 2018
  4. Jan 09, 2018
  5. Nov 27, 2017
    • Mark OLESEN's avatar
      ENH: several improvements for linked-lists · cc5f30f2
      Mark OLESEN authored
      - support move construct/assignment for linked-lists themselves
        and when moving into a 'normal' list
      
      - better consistency with begin/end signatures and the various
        iterators.
      
      - for indirect linked-lists, provide iterator access to the underlying
        data element address:   iter.get()  vs  &(iter())
      
      - add standard '->' indirection for iterators (as per normal STL
        definitions)
      cc5f30f2
  6. Feb 22, 2018
  7. Feb 21, 2018
  8. Feb 20, 2018
  9. Feb 19, 2018
  10. Feb 21, 2018
  11. Feb 15, 2018
  12. Feb 14, 2018
  13. Feb 09, 2018
  14. Feb 08, 2018
  15. Feb 07, 2018