A
Axel Gallus
I want to search the key which is lower or equal than
a given key in a hash_map.
I am using the MS Visual C++ hash_map, which is not included in the STL
http://msdn2.microsoft.com/en-us/library/h80zf4bx(VS.71).aspx
and in my opinion there is no method which
could do this directly (There are only a upper_bound() and lower_bound()
function
which deliver the first key equal or greater than the given key).
How would you search for the key which is lower or equal to the given
exploiting the
const time characteristics of a hash_map efficiently?
Greetings
A.Galllus
a given key in a hash_map.
I am using the MS Visual C++ hash_map, which is not included in the STL
http://msdn2.microsoft.com/en-us/library/h80zf4bx(VS.71).aspx
and in my opinion there is no method which
could do this directly (There are only a upper_bound() and lower_bound()
function
which deliver the first key equal or greater than the given key).
How would you search for the key which is lower or equal to the given
exploiting the
const time characteristics of a hash_map efficiently?
Greetings
A.Galllus