Skip to content
  • Mark Olesen's avatar
    HashTbl: change allocation of end iterators · 39159a92
    Mark Olesen authored
    - the end iterators and canonicalSize are independent of the templated
      parameters, so move them to HashTblCore
    
    - this avoid allocating separate end iterator at all.
    
      end(), cend() return a iteratorEnd.
      iterator == iteratorEnd just checks for non-NULL pointer on iterator.
      The compiler should optimize most of it away.
    39159a92