1. 20 Jan, 2009 1 commit
  2. 16 Jan, 2009 1 commit
    • Mark Olesen's avatar
      consistency update for null pointers · 246d569c
      Mark Olesen authored
      - uniform use of reinterpret_cast<foo*>(0) instead of
        reinterpret_cast<foo*>(NULL)
      
      - make all static null() members inline since they are really only a cast:
            "*reinterpret_cast<foo*>(0)"
      246d569c
  3. 09 Jan, 2009 1 commit
  4. 05 Jan, 2009 1 commit
    • Mark Olesen's avatar
      rename xfer<T> class to Xfer<T> · 19503c93
      Mark Olesen authored
      - The capitalization is consistent with most other template classes, but
        more importantly frees up xfer() for use as method name without needing
        special treatment to avoid ambiguities.
      
        It seems reasonable to have different names for transfer(...) and xfer()
        methods, since the transfer is occuring in different directions.
        The xfer() method can thus replace the recently introduced zero-parameter
        transfer() methods.
        Other name candidates (eg, yield, release, etc.) were deemed too abstract.
      19503c93
  5. 02 Jan, 2009 1 commit
    • Mark Olesen's avatar
      added xfer<...> transfer() method to various containers · cf488912
      Mark Olesen authored
      - this should provide a slightly more naturally means to using transfer
        constructors, for example
                labelList list2(list1.transfer());
            vs. labelList list2(xferMove(list1));
      
      - returns a plain list where appropriate (eg, DynamicList, SortableList)
        for example
                labelList list2(dynList1.transfer());
            vs. labelList list2(xferMoveTo<labelList>(dynList1));
      cf488912
  6. 31 Dec, 2008 1 commit
  7. 21 Oct, 2008 1 commit
  8. 17 Oct, 2008 1 commit
    • Mark Olesen's avatar
      xfer class modifications: · 91cb6d29
      Mark Olesen authored
        - removed operator* in favour of operator() for consistency with tmp
          class. The previous use of operator() for const casting didn't work
          anyhow due to template confusion.
        - added xferCopy(), xferMove() and xferTmp() template functions instead
        - preliminary changes to IOobjects and Fields for xfer
      91cb6d29
  9. 09 Oct, 2008 1 commit
  10. 06 Oct, 2008 1 commit
  11. 25 Jun, 2008 2 commits
  12. 15 Apr, 2008 1 commit