|
MGL(Win32)
|
MGL STLコンテナの代替 [詳解]
#include <deque>#include <stack>#include <queue>#include <vector>#include <forward_list>#include <list>#include <map>#include <set>#include <unordered_map>#include <unordered_set>#include <mgl/stl/mgl_stl_memory.h>型定義 | |
| template<class T > | |
| using | MGL::STL::deque = std::deque<T, Allocator<T>> |
| std::dequeの代替 | |
| template<class T > | |
| using | MGL::STL::stack = std::stack<T, deque<T>> |
| std::stackの代替 | |
| template<class T > | |
| using | MGL::STL::queue = std::queue<T, deque<T>> |
| std::queueの代替 | |
| template<class T > | |
| using | MGL::STL::forward_list = std::forward_list<T, Allocator<T>> |
| std::forward_listの代替 | |
| template<class T > | |
| using | MGL::STL::list = std::list<T, Allocator<T>> |
| std::listの代替 | |
| template<class T > | |
| using | MGL::STL::vector = std::vector<T, Allocator<T>> |
| std::vectorの代替 | |
| template<class Key , class T , class Compare = std::less<Key>> | |
| using | MGL::STL::map = std::map<Key, T, Compare, Allocator<std::pair<const Key, T>>> |
| std::mapの代替 | |
| template<class Key , class T , class Compare = std::less<Key>> | |
| using | MGL::STL::multimap = std::multimap<Key, T, Compare, Allocator<std::pair<const Key, T>>> |
| std::multimapの代替 | |
| template<class Key , class Compare = std::less<Key>> | |
| using | MGL::STL::set = std::set<Key, Compare, Allocator<Key>> |
| std::setの代替 | |
| template<class Key , class Compare = std::less<Key>> | |
| using | MGL::STL::multiset = std::multiset<Key, Compare, Allocator<Key>> |
| std::multisetの代替 | |
| template<class Key , class T , class Hash = std::hash<Key>, class Pred = std::equal_to<Key>> | |
| using | MGL::STL::unordered_map = std::unordered_map<Key, T, Hash, Pred, Allocator<std::pair<const Key, T>>> |
| std::unordered_mapの代替 | |
| template<class Key , class T , class Hash = std::hash<Key>, class Pred = std::equal_to<Key>> | |
| using | MGL::STL::unordered_multimap = std::unordered_multimap<Key, T, Hash, Pred, Allocator<std::pair<const Key, T>>> |
| std::unordered_multimapの代替 | |
| template<class Key , class Hash = std::hash<Key>, class Pred = std::equal_to<Key>> | |
| using | MGL::STL::unordered_set = std::unordered_set<Key, Hash, Pred, Allocator<Key>> |
| std:unordered_setの代替 | |
| template<class Key , class Hash = std::hash<Key>, class Pred = std::equal_to<Key>> | |
| using | MGL::STL::unordered_multiset = std::unordered_multiset<Key, Hash, Pred, Allocator<Key>> |
| std:unordered_multisetの代替 | |
MGL STLコンテナの代替