Ninja
Public Types | List of all members
ExternalStringHashMap< V > Struct Template Reference

A template for hash_maps keyed by a StringPiece whose string is owned externally (typically by the values). More...

#include <hash_map.h>

Inheritance diagram for ExternalStringHashMap< V >:
Inheritance graph
[legend]

Public Types

typedef hash_map< StringPiece, V > Type
 

Detailed Description

template<typename V>
struct ExternalStringHashMap< V >

A template for hash_maps keyed by a StringPiece whose string is owned externally (typically by the values).

Use like: ExternalStringHash<Foo*>::Type foos; to make foos into a hash mapping StringPiece => Foo*.

Definition at line 101 of file hash_map.h.

Member Typedef Documentation

template<typename V>
typedef hash_map<StringPiece, V> ExternalStringHashMap< V >::Type

Definition at line 105 of file hash_map.h.


The documentation for this struct was generated from the following file: