GCSIM
Public Member Functions | Public Attributes | List of all members
queue_entry< T > Struct Template Reference

element of the queue. More...

#include <queue-entry.hpp>

Public Member Functions

template<typename TT >
requires std::is_constructible_v<T, TT&&>
 queue_entry (TT &&value)
 creates the instance of the queue element.
 

Public Attributes

value
 value of the element in the queue.
 
queue_entrynext
 pointer to the next element in the queue.
 

Detailed Description

template<typename T>
struct queue_entry< T >

element of the queue.

Template Parameters
T- type of the element.

Constructor & Destructor Documentation

◆ queue_entry()

template<typename T >
template<typename TT >
requires std::is_constructible_v<T, TT&&>
queue_entry< T >::queue_entry ( TT &&  value)
inline

creates the instance of the queue element.

Template Parameters
TT- type of element in the queue.
Parameters
value- value of the element in the queue.

Member Data Documentation

◆ next

template<typename T >
queue_entry* queue_entry< T >::next

pointer to the next element in the queue.

◆ value

template<typename T >
T queue_entry< T >::value

value of the element in the queue.


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