diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
| commit | 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 (patch) | |
| tree | 631c295a4a4a16b57502b847626763a279bf6df7 /yhttpd-0.7.2/src/maps/nhashmap.h | |
| parent | 13aaf70af703748fe096e0664c305cd202637ad2 (diff) | |
tagging tags
Diffstat (limited to 'yhttpd-0.7.2/src/maps/nhashmap.h')
| -rw-r--r-- | yhttpd-0.7.2/src/maps/nhashmap.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/yhttpd-0.7.2/src/maps/nhashmap.h b/yhttpd-0.7.2/src/maps/nhashmap.h new file mode 100644 index 0000000..7f17a55 --- /dev/null +++ b/yhttpd-0.7.2/src/maps/nhashmap.h @@ -0,0 +1,21 @@ +#ifndef NHASHMAP_H +#define NHASHMAP_H + +#include "shashmap.h" + +using namespace std; + +template +< + class obj_type, + class key_type_ = string, + class hash_type = size_hash<string>, + class alloc_type = compare_allocator<string> +> +struct nhashmap : public shashmap<obj_type, key_type_, hash_type, alloc_type> +{ + inline obj_type get_elem(key_type_ t_key); +}; + +#include "nhashmap.tmpl" +#endif |
