Furrent
Public Member Functions | List of all members
fur::policy::FIFOPolicy< T > Class Template Reference

Simple FIFO policy. More...

#include <policy.hpp>

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

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from fur::policy::IPolicy< T >
using Iterator = typename std::list< T >::iterator
 Iterator type used by the std::list type. More...
 

Detailed Description

template<typename T>
class fur::policy::FIFOPolicy< T >

Simple FIFO policy.

Member Function Documentation

◆ extract()

template<typename T >
auto fur::policy::FIFOPolicy< T >::extract ( Iterator  begin,
Iterator  end 
) const
overridevirtual

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

Implements fur::policy::IPolicy< T >.


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