On 06/23/2015 08:42 AM, Richard Sandiford wrote:
This patch defines a class that converts hash_table-style traits into
hash_map traits.  It can be used as the default traits for all hash_maps
that don't specify their own traits (i.e. this patch does work on its own).

By the end of the series this class replaces default_hashmap_traits.


gcc/
        * hash-map-traits.h: Include hash-traits.h.
        (simple_hashmap_traits): New class.
        * mem-stats.h (hash_map): Change the default traits to
        simple_hashmap_traits<default_hash_traits<Key> >.
OK.
jeff

Reply via email to