Isle
Loading...
Searching...
No Matches
Priority_queue< _C, _Pr > Class Template Reference

[AI] Customized priority queue for use with game-specific containers and allocators. More...

#include <mxstl.h>

Inheritance diagram for Priority_queue< _C, _Pr >:
Collaboration diagram for Priority_queue< _C, _Pr >:

Public Types

typedef _C::value_type _TYPE
 [AI] Element type [AI] More...
 
typedef _C::allocator_type _A
 [AI] Allocator type [AI] More...
 
typedef _C::allocator_type allocator_type
 [AI] Allocator type (synonym) [AI] More...
 

Public Member Functions

 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. More...
 

Detailed Description

template<class _C, class _Pr>
class Priority_queue< _C, _Pr >

[AI] Customized priority queue for use with game-specific containers and allocators.

[AI] Useful for game systems where prioritized event or action dispatching is needed.

Definition at line 326 of file mxstl.h.

Member Typedef Documentation

◆ _A

template<class _C , class _Pr >
typedef _C::allocator_type Priority_queue< _C, _Pr >::_A

[AI] Allocator type [AI]

Definition at line 330 of file mxstl.h.

◆ _TYPE

template<class _C , class _Pr >
typedef _C::value_type Priority_queue< _C, _Pr >::_TYPE

[AI] Element type [AI]

Definition at line 329 of file mxstl.h.

◆ allocator_type

template<class _C , class _Pr >
typedef _C::allocator_type Priority_queue< _C, _Pr >::allocator_type

[AI] Allocator type (synonym) [AI]

Definition at line 331 of file mxstl.h.

Constructor & Destructor Documentation

◆ Priority_queue()

template<class _C , class _Pr >
Priority_queue< _C, _Pr >::Priority_queue ( const _Pr &  _X = _Pr(),
const _C::allocator_type &  _Al = _C::allocator_type() 
)
inlineexplicit

[AI] Constructs an empty Priority_queue with optional comparator and allocator.

Parameters
_XComparator for priority [AI]
_AlAllocator to use [AI]

Definition at line 338 of file mxstl.h.


The documentation for this class was generated from the following file: