diff options
Diffstat (limited to 'ychat-0.7.7.0/src/maps/nhashmap.h')
| -rw-r--r-- | ychat-0.7.7.0/src/maps/nhashmap.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ychat-0.7.7.0/src/maps/nhashmap.h b/ychat-0.7.7.0/src/maps/nhashmap.h new file mode 100644 index 0000000..4cfb50e --- /dev/null +++ b/ychat-0.7.7.0/src/maps/nhashmap.h @@ -0,0 +1,15 @@ +#ifndef NHASHMAP_H +#define NHASHMAP_H + +#include "shashmap.h" + +using namespace std; + +template<class obj_type> +struct nhashmap : public shashmap<obj_type> +{ + inline obj_type get_elem(string s_key); +}; + +#include "nhashmap.tmpl" +#endif |
