Furrent
Public Types | Public Member Functions | List of all members
fur::policy::IPolicy< T > Class Template Referenceabstract

#include <policy.hpp>

Inheritance diagram for fur::policy::IPolicy< T >:
Inheritance graph
[legend]

Public Types

using Iterator = typename std::list< T >::iterator
 Iterator type used by the std::list type. More...
 

Public Member Functions

virtual Iterator extract (Iterator begin, Iterator end) const =0
 implements the custom policy logic to extract an element from the list More...
 

Member Typedef Documentation

◆ Iterator

template<typename T >
using fur::policy::IPolicy< T >::Iterator = typename std::list<T>::iterator

Iterator type used by the std::list type.

Member Function Documentation

◆ extract()

template<typename T >
virtual Iterator fur::policy::IPolicy< T >::extract ( Iterator  begin,
Iterator  end 
) const
pure virtual

implements the custom policy logic to extract an element from the list

Parameters
beginbegin of the list
endend of the list
Returns
position of the element to extract

Implemented in fur::policy::LIFOPolicy< T >, and fur::policy::FIFOPolicy< T >.


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