Files
comaps/3party/skarupke/flat_hash_map.hpp
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

20 lines
451 B
C++

#pragma once
#include <climits>
#if SIZE_MAX > 4294967295
#include "__flat_hash_map.hpp"
#else
#include <functional>
#include <memory>
#include <unordered_map>
#include <utility>
namespace ska
{
template <class Key, class T, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>,
class Alloc = std::allocator<std::pair<const Key, T>>>
using flat_hash_map = std::unordered_map<Key, T, Hash, Pred, Alloc>;
} // namespace ska
#endif