2022-02-23 23:08:28 -05:00
|
|
|
#ifndef WRAP_UNORDERED_MAP_HPP
|
|
|
|
|
#define WRAP_UNORDERED_MAP_HPP
|
|
|
|
|
|
2022-02-28 21:57:54 -05:00
|
|
|
#include "eng-malloc.hpp"
|
2022-02-23 23:08:28 -05:00
|
|
|
#include <unordered_map>
|
|
|
|
|
|
|
|
|
|
namespace eng {
|
|
|
|
|
template<class K, class V, class H=std::hash<K>, class E=std::equal_to<K>>
|
2022-03-02 14:52:51 -05:00
|
|
|
class unordered_map : public std::unordered_map<K, V, H, E, eng::allocator<std::pair<const K, V>>>, public eng::opnew {
|
|
|
|
|
using std::unordered_map<K, V, H, E, eng::allocator<std::pair<const K, V>>>::unordered_map;
|
|
|
|
|
};
|
2022-02-23 23:08:28 -05:00
|
|
|
} // namespace eng
|
|
|
|
|
|
|
|
|
|
#endif // WRAP_UNORDERED_MAP_HPP
|