Re: Hash Tables?



Am Dienstag, den 05.12.2006, 17:58 -0500 schrieb Daniel Levin:
> Hi -
>   I haven't been able to find any information on how to use hash tables, such as in GLib. Is there a hash table implementation in glibmm?
> 
> Thanks,
> Dan

I never used them but...

...since hash tables and the related unordered_map are part of TR1, they
will be provided by (hopefully) every c++ compiler soon. My gcc-4.1.1
ships:
<tr1-dir>
        array 
        functional_iterate.h  
        ref_wrap_iterate.h type_traits_fwd.h
        bind_iterate.h  
        hashtable             
        repeat.h            
        unordered_map
        bind_repeat.h       
        memory                
        tuple               
        unordered_set
        boost_shared_ptr.h  
        mu_iterate.h          
        tuple_iterate.h     
        utility
        functional          
        ref_fwd.h             
        type_traits
</tr1-dir>
 

Hashes are part of boost too:
    http://boost.org/doc/html/hash.html



Maik







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]