diff options
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r-- | zen/stl_tools.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zen/stl_tools.h b/zen/stl_tools.h index c93f2d61..bf47bb1c 100644 --- a/zen/stl_tools.h +++ b/zen/stl_tools.h @@ -183,6 +183,9 @@ template <class K, class V> class hash_map : public std::map<K, V> {}; #else template <class T> class hash_set : public std::unordered_set<T> {}; template <class K, class V> class hash_map : public std::unordered_map<K, V> {}; +//C++11: +//template <class T> using hash_set = std::unordered_set<T>; +//template <class K, class V> using hash_map = std::unordered_map<K, V>; #endif //as long as variadic templates are not available in MSVC |