|
CeresEngine 0.2.0
A game development framework
|
IteratorPrototype where advance is defined by the functional held by F.
More...
#include <CeresEngine/Foundation/Iterator.hpp>
Public Member Functions | |
| template<typename TF = F, typename TD = D, typename TC = C> | |
| Iterator (T &&begin, F &&_callback=F(), D &&_dereferencer=D(), C &&_compare=C()) | |
| Iterator & | operator++ () |
| Base::DereferencedType | operator* () const |
| operator bool () const | |
Public Member Functions inherited from CeresEngine::IteratorPrototype< T, D, C > | |
| IteratorPrototype ()=delete | |
| IteratorPrototype (T &&first, D &&_dereferencer=D(), C &&_compare=C()) | |
| DereferencedType | operator* () |
| auto * | operator-> () const |
Protected Types | |
| using | Base = IteratorPrototype< T, D, C > |
Protected Attributes | |
| F | callback |
Protected Attributes inherited from CeresEngine::IteratorPrototype< T, D, C > | |
| D | dereferencer |
| C | compare |
Friends | |
| bool | operator== (const Iterator &lhs, const IterationEnd &rhs) |
| bool | operator!= (const Iterator &lhs, const IterationEnd &rhs) |
Additional Inherited Members | |
Public Types inherited from CeresEngine::IteratorPrototype< T, D, C > | |
| using | iterator_category = std::input_iterator_tag |
| using | reference = decltype(std::declval< D >()(std::declval< T & >())) |
| using | value_type = typename std::decay< reference >::type |
| using | pointer = value_type * |
| using | difference_type = std::ptrdiff_t |
| using | DereferencedType = decltype(dereferencer(value)) |
Public Attributes inherited from CeresEngine::IteratorPrototype< T, D, C > | |
| T | value |
IteratorPrototype where advance is defined by the functional held by F.
|
protected |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
friend |
|
friend |
|
protected |