/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/external/stlplus/include/stlplus/hash.hpp Source File
|
Ratpac-two
|
hash.hpp
45 // constructor to create a null iterator - you must assign a valid value to this iterator before using it
80 // tests useful for putting iterators into other STL structures and for testing whether iteration has completed
117 // E = equal function object with the profile 'bool E(const K&, const K&)' defaults to equal_to which in turn calls '=='
140 // test for an empty table and for the size of a table - efficient because the size is stored separately from the
154 // default of 0 means implement built-in size calculation for rehashing (recommended - it doubles the number of bins)
158 // the recommendation is to double the bins when the loading exceeds 0.5 which is what auto-rehashing does
186 // the const version is used by the compiler on const hashes and cannot change the hash, so find failure causes an
187 // exception the non-const version is used by the compiler on non-const hashes and is like map - it creates a new
199 // diagnostic report shows the number of items in each bin so can be used to diagnose effectiveness of hash functions
Definition: persistent.hpp:64
Definition: textio.hpp:37
Definition: persistent.hpp:126
Definition: hash.hpp:26
Definition: hash.hpp:32
Definition: hash.hpp:120
Generated by