[cfe-dev] Reserved values in Hashing.h
Benjamin Kramer
benny.kra at googlemail.com
Sat Jun 9 08:34:39 PDT 2012
On 09.06.2012, at 17:10, Stephan Tolksdorf wrote:
> Hi,
>
> The Doxygen comment for the hash_code class in ADT/Hashing.h states that
> two values are reserved:
>
> "Also note that there are two numerical values which are reserved, and
> the implementation ensures will never be produced for real hash_codes.
> These can be used as sentinels within hashing data structures."
>
> However, there doesn't seem to be any further comment on what values are
> reserved. So, are there actually any reserved values (which ones?) or is
> this maybe just a stray comment?
The comment is outdated, support for the special reserved values was removed in r151865. It's not really useful to have sentinels for the hash value itself.
I'll remove the comment.
- Ben
More information about the cfe-dev
mailing list