40 typedef allocator<_TYPE>
_A;
54 explicit Deque(size_type _N,
const _TYPE& _V = _TYPE()) :
deque<_TYPE,
_A>(_N, _V)
63 deque<_TYPE, _A>::swap((deque<_TYPE, _A>&)_X);
83class List :
public list<_TYPE, allocator<_TYPE> >
87 typedef allocator<_TYPE>
_A;
100 explicit List(size_type _N,
const _TYPE& _V = _TYPE()) :
list<_TYPE,
_A>(_N, _V)
109 list<_TYPE, _A>::swap((list<_TYPE, _A>&)_X);
128template<
class _K,
class _TYPE,
class _Pr>
129class Map :
public map<_K, _TYPE, _Pr, allocator<_TYPE> >
133 typedef allocator<_TYPE>
_A;
139 explicit Map(
const _Pr& _Pred = _Pr())
140 :
map<_K, _TYPE, _Pr,
_A>(_Pred)
149 map<_K, _TYPE, _Pr, _A>::swap((map<_K, _TYPE, _Pr, _A>&)_X);
168template<
class _K,
class _TYPE,
class _Pr>
173 typedef allocator<_TYPE>
_A;
188 multimap<_K, _TYPE, _Pr, _A>::swap((multimap<_K, _TYPE, _Pr, _A>&)_X);
207template<
class _K,
class _Pr>
208class Set :
public set<_K, _Pr, allocator<_K> >
212 typedef allocator<_K>
_A;
218 explicit Set(
const _Pr& _Pred = _Pr()) :
set<_K, _Pr,
_A>(_Pred)
227 set<_K, _Pr, _A>::swap((set<_K, _Pr, _A>&)_X);
246template<
class _K,
class _Pr>
251 typedef allocator<_K>
_A;
267 multiset<_K, _Pr, _A>::swap((multiset<_K, _Pr, _A>&)_X);
291 typedef allocator<_TYPE>
_A;
306 vector<_TYPE, _A>::swap((vector<_TYPE, _A>&)_X);
325template<
class _C,
class _Pr>
330 typedef _C::allocator_type
_A;
348class Queue :
public queue<_C::value_type, _C, _C::allocator_type>
357class Stack :
public stack<_C::value_type, _C, _C::allocator_type>
412#define multimap Multimap
414#define multiset Multiset
416#define priority_queue Priority_queue
[AI] Custom wrapper around std::deque providing consistent allocator usage and swap semantics.
Deque(const _A &_Al=_A())
[AI] Constructs a Deque with an optional allocator.
Deque< _TYPE > _Myt
[AI] Self type for use in member functions and templates. [AI]
allocator< _TYPE > _A
[AI] Allocator type for contained elements. [AI]
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap function for ADL-enabled efficient swapping.
void swap(_Myt &_X)
[AI] Swaps the contents of this Deque with another.
Deque(size_type _N, const _TYPE &_V=_TYPE())
[AI] Constructs a Deque with a specified number of elements and initial value.
[AI] Custom wrapper around std::list providing consistent allocator usage and swap semantics.
void swap(_Myt &_X)
[AI] Swaps the contents of this List with another.
allocator< _TYPE > _A
[AI] Allocator type. [AI]
List< _TYPE > _Myt
[AI] Self type for member use. [AI]
List()
[AI] Constructs an empty List.
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap for efficient List swapping.
List(size_type _N, const _TYPE &_V=_TYPE())
[AI] Constructs a List with a specified number of elements and initial value.
[AI] Custom wrapper for std::map with consistent allocator and customizable comparator.
allocator< _TYPE > _A
[AI] Allocator type [AI]
Map(const _Pr &_Pred=_Pr())
[AI] Constructs an empty Map with an optional predicate.
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap for Map.
Map< _K, _TYPE, _Pr > _Myt
[AI] Self type [AI]
void swap(_Myt &_X)
[AI] Swaps with another Map.
[AI] Custom multimap supporting multiple values per key with custom allocator and comparator.
void swap(_Myt &_X)
[AI] Swaps with another Multimap.
allocator< _TYPE > _A
[AI] Allocator type [AI]
Multimap(const _Pr &_Pred=_Pr())
[AI] Constructs an empty Multimap with optional predicate.
Multimap< _K, _TYPE, _Pr > _Myt
[AI] Self type [AI]
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap for Multimap.
[AI] Multiset wrapper for storing ordered collections of non-unique elements with a custom allocator.
Multiset(const _Pr &_Pred=_Pr())
[AI] Constructs an empty Multiset with an optional predicate.
allocator< _K > _A
[AI] Allocator type [AI]
Multiset< _K, _Pr > _Myt
[AI] Self type [AI]
void swap(_Myt &_X)
[AI] Swaps with another Multiset.
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap for Multiset.
[AI] Customized priority queue for use with game-specific containers and allocators.
_C::allocator_type _A
[AI] Allocator type [AI]
_C::value_type _TYPE
[AI] Element type [AI]
Priority_queue(const _Pr &_X=_Pr(), const _C::allocator_type &_Al=_C::allocator_type())
[AI] Constructs an empty Priority_queue with optional comparator and allocator.
_C::allocator_type allocator_type
[AI] Allocator type (synonym) [AI]
[AI] Customized queue for compatibility with the engine's allocator requirements.
[AI] Set wrapper utilizing a custom allocator and comparator.
Set< _K, _Pr > _Myt
[AI] Self type [AI]
allocator< _K > _A
[AI] Allocator type [AI]
void swap(_Myt &_X)
[AI] Swaps with another Set.
Set(const _Pr &_Pred=_Pr())
[AI] Constructs an empty Set with an optional predicate.
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap for Set.
[AI] Customized stack for compatibility with the engine's allocator and usage patterns.
[AI] Custom vector supporting allocator and custom swap semantics.
void swap(_Myt &_X)
[AI] Swaps the content with another Vector.
Vector< _TYPE > _Myt
[AI] Self type [AI]
allocator< _TYPE > _A
[AI] Allocator type [AI]
friend void swap(_Myt &_X, _Myt &_Y)
[AI] Friend swap for Vector.
Vector(const _A &_Al=_A())
[AI] Constructs an empty Vector with an optional allocator.
#define priority_queue
[AI] Macro alias for Priority_queue<C, Pr>, replacing std::priority_queue.
#define deque
[AI] Macro alias for Deque<T>, replacing std::deque<T>.
#define multimap
[AI] Macro alias for Multimap<K, T, Pr>, replacing std::multimap<T>.
#define queue
[AI] Macro alias for Queue<C>, replacing std::queue.
#define stack
[AI] Macro alias for Stack<C>, replacing std::stack.
#define multiset
[AI] Macro alias for Multiset<K, Pr>, replacing std::multiset<K>.
#define set
[AI] Macro alias for Set<K, Pr>, replacing std::set<K>.
#define vector
[AI] Macro alias for Vector<T>, replacing std::vector<T>.
#define map
[AI] Macro alias for Map<K, T, Pr>, replacing std::map<T>.
#define list
[AI] Macro alias for List<T>, replacing std::list<T>.