2022-10-30 14:24:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
2024-03-20 11:52:48 -04:00
|
|
|
#include "msvc/allocator.hpp"
|
|
|
|
#include "msvc/umap.hpp"
|
|
|
|
#include "msvc/uset.hpp"
|
|
|
|
|
2022-11-22 07:59:46 -05:00
|
|
|
#include <map>
|
2022-10-30 14:59:20 -04:00
|
|
|
#include <vector>
|
2023-12-20 21:14:53 -05:00
|
|
|
#include <set>
|
2022-10-30 14:24:06 -04:00
|
|
|
|
|
|
|
namespace gd {
|
2022-11-22 07:59:46 -05:00
|
|
|
template <class T>
|
|
|
|
using vector = std::vector<T>;
|
|
|
|
|
|
|
|
template <class K, class V>
|
|
|
|
using map = std::map<K, V>;
|
2023-12-20 21:14:53 -05:00
|
|
|
|
|
|
|
template <class K, class V>
|
2024-03-20 11:52:48 -04:00
|
|
|
using unordered_map = geode::stl::unordered_map<K, V, std::hash<K>, std::equal_to<K>, geode::stl::allocator<std::pair<const K, V>>>;
|
2023-12-20 21:14:53 -05:00
|
|
|
|
|
|
|
template <class K>
|
|
|
|
using set = std::set<K>;
|
|
|
|
|
|
|
|
template <class K>
|
2024-03-20 11:52:48 -04:00
|
|
|
using unordered_set = geode::stl::unordered_set<K, std::hash<K>, std::equal_to<K>, geode::stl::allocator<K>>;
|
2022-11-22 07:59:46 -05:00
|
|
|
}
|