[cxx-conversion] New Hash Table (issue6244048)

Lawrence Crowl crowl@google.com
Tue May 29 23:28:00 GMT 2012


On 5/24/12, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
> On May 24, 2012 Lawrence Crowl <crowl@google.com> wrote:
> > Add a type-safe hash table, typed_htab.  Uses of this table
> > replace uses of libiberty's htab_t.  The benefits include less
> > boiler-plate code, full type safety, and improved performance.
>
> Lawrence, is there any chance you could just call it hash_table<>?
> After the conversion, we will be living most of the time in a
> typed world, so the "typed_" prefix will be redundant if not
> confusing :-)

The name hash_table is already taken in libcpp/include/symtab.h.
Do you have any other suggestions?

-- 
Lawrence Crowl



More information about the Gcc-patches mailing list