Skip to content
Snippets Groups Projects
Commit 39159a92 authored by Mark Olesen's avatar Mark Olesen
Browse files

HashTbl: change allocation of end iterators

- 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.
parent a237b7ce
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment