From 9cd3ccffd5372dfde3af478e3f832f18db4be3f1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:41 +0200 Subject: tagging tags --- ychat-0.7.7.0/src/maps/hash.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ychat-0.7.7.0/src/maps/hash.h (limited to 'ychat-0.7.7.0/src/maps/hash.h') diff --git a/ychat-0.7.7.0/src/maps/hash.h b/ychat-0.7.7.0/src/maps/hash.h new file mode 100644 index 0000000..15ce3fe --- /dev/null +++ b/ychat-0.7.7.0/src/maps/hash.h @@ -0,0 +1,18 @@ +#ifndef HASH_H +#define HASH_H + +#include + +using namespace std; + +struct hash +{ + int operator()(string s_key) const; +}; + +struct hashmap_allocator +{ + bool operator()(string s_key_1, string s_key_2) const; +}; + +#endif -- cgit v1.2.3