EnTT 3.14.0
|
Plain iota iterator (waiting for C++20). More...
#include <iterator.hpp>
Public Types | |
using | value_type = Type |
Value type, likely an integral one. | |
using | pointer = void |
Invalid pointer type. | |
using | reference = value_type |
Non-reference type, same as value type. | |
using | difference_type = std::ptrdiff_t |
Difference type. | |
using | iterator_category = std::input_iterator_tag |
Iterator category. | |
Public Member Functions | |
constexpr | iota_iterator () noexcept |
Default constructor. | |
constexpr | iota_iterator (const value_type init) noexcept |
Constructs an iota iterator from a given value. | |
constexpr iota_iterator & | operator++ () noexcept |
Pre-increment operator. | |
constexpr iota_iterator | operator++ (int) noexcept |
Post-increment operator. | |
constexpr reference | operator* () const noexcept |
Dereference operator. | |
Plain iota iterator (waiting for C++20).
Type | Value type. |
Definition at line 56 of file iterator.hpp.
using entt::iota_iterator< Type >::difference_type = std::ptrdiff_t |
Difference type.
Definition at line 67 of file iterator.hpp.
using entt::iota_iterator< Type >::iterator_category = std::input_iterator_tag |
Iterator category.
Definition at line 69 of file iterator.hpp.
using entt::iota_iterator< Type >::pointer = void |
Invalid pointer type.
Definition at line 63 of file iterator.hpp.
using entt::iota_iterator< Type >::reference = value_type |
Non-reference type, same as value type.
Definition at line 65 of file iterator.hpp.
using entt::iota_iterator< Type >::value_type = Type |
Value type, likely an integral one.
Definition at line 61 of file iterator.hpp.
|
inlineconstexprnoexcept |
Default constructor.
Definition at line 72 of file iterator.hpp.
|
inlineconstexprnoexcept |
Constructs an iota iterator from a given value.
init | The initial value assigned to the iota iterator. |
Definition at line 79 of file iterator.hpp.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |