This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cxx-conversion] New Hash Table (issue6244048)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]