mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 00:50:38 +08:00
small cleanups.
This commit is contained in:
Vendored
+13
@@ -51,6 +51,19 @@
|
||||
|
||||
namespace phmap {
|
||||
|
||||
template <class T> using Allocator = typename std::allocator<T>;
|
||||
|
||||
template<class T1, class T2> using Pair = typename std::pair<T1, T2>;
|
||||
|
||||
template <class T>
|
||||
struct EqualTo
|
||||
{
|
||||
inline size_t operator()(const T& a, const T& b) const
|
||||
{
|
||||
return std::equal_to<T>()(a, b);
|
||||
}
|
||||
};
|
||||
|
||||
namespace type_traits_internal {
|
||||
|
||||
template <typename... Ts>
|
||||
|
||||
Reference in New Issue
Block a user