11#ifndef INCGUARD_MGL_STL_CONTAINERS_H_1651242469
12#define INCGUARD_MGL_STL_CONTAINERS_H_1651242469
18#include <forward_list>
22#include <unordered_map>
23#include <unordered_set>
31using deque = std::deque<T, Allocator<T>>;
35using stack = std::stack<T, deque<T>>;
39using queue = std::queue<T, deque<T>>;
47using list = std::list<T, Allocator<T>>;
51using vector = std::vector<T, Allocator<T>>;
54template <
class Key,
class T,
class Compare = std::less<Key>>
55using map = std::map<Key, T, Compare, Allocator<std::pair<const Key, T>>>;
58template <
class Key,
class T,
class Compare = std::less<Key>>
59using multimap = std::multimap<Key, T, Compare, Allocator<std::pair<const Key, T>>>;
62template <
class Key,
class Compare = std::less<Key>>
63using set = std::set<Key, Compare, Allocator<Key>>;
66template <
class Key,
class Compare = std::less<Key>>
67using multiset = std::multiset<Key, Compare, Allocator<Key>>;
70template <
class Key,
class T,
class Hash = std::hash<Key>,
class Pred = std::equal_to<Key>>
71using unordered_map = std::unordered_map<Key, T, Hash, Pred, Allocator<std::pair<const Key, T>>>;
74template <
class Key,
class T,
class Hash = std::hash<Key>,
class Pred = std::equal_to<Key>>
75using unordered_multimap = std::unordered_multimap<Key, T, Hash, Pred, Allocator<std::pair<const Key, T>>>;
78template <
class Key,
class Hash = std::hash<Key>,
class Pred = std::equal_to<Key>>
79using unordered_set = std::unordered_set<Key, Hash, Pred, Allocator<Key>>;
82template <
class Key,
class Hash = std::hash<Key>,
class Pred = std::equal_to<Key>>
std::unordered_multiset< Key, Hash, Pred, Allocator< Key > > unordered_multiset
std:unordered_multisetの代替
Definition mgl_stl_containers.h:83
std::stack< T, deque< T > > stack
std::stackの代替
Definition mgl_stl_containers.h:35
std::unordered_multimap< Key, T, Hash, Pred, Allocator< std::pair< const Key, T > > > unordered_multimap
std::unordered_multimapの代替
Definition mgl_stl_containers.h:75
std::map< Key, T, Compare, Allocator< std::pair< const Key, T > > > map
std::mapの代替
Definition mgl_stl_containers.h:55
std::unordered_set< Key, Hash, Pred, Allocator< Key > > unordered_set
std:unordered_setの代替
Definition mgl_stl_containers.h:79
std::list< T, Allocator< T > > list
std::listの代替
Definition mgl_stl_containers.h:47
std::multiset< Key, Compare, Allocator< Key > > multiset
std::multisetの代替
Definition mgl_stl_containers.h:67
std::multimap< Key, T, Compare, Allocator< std::pair< const Key, T > > > multimap
std::multimapの代替
Definition mgl_stl_containers.h:59
std::queue< T, deque< T > > queue
std::queueの代替
Definition mgl_stl_containers.h:39
std::deque< T, Allocator< T > > deque
std::dequeの代替
Definition mgl_stl_containers.h:31
std::unordered_map< Key, T, Hash, Pred, Allocator< std::pair< const Key, T > > > unordered_map
std::unordered_mapの代替
Definition mgl_stl_containers.h:71
std::vector< T, Allocator< T > > vector
std::vectorの代替
Definition mgl_stl_containers.h:51
std::set< Key, Compare, Allocator< Key > > set
std::setの代替
Definition mgl_stl_containers.h:63
std::forward_list< T, Allocator< T > > forward_list
std::forward_listの代替
Definition mgl_stl_containers.h:43