summaryrefslogtreecommitdiff
path: root/src/maps/nhashmap.h
blob: f440230a0a2038c8727b6365176070c8868f4385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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