|
EnTT 3.13.2
|
Utility class to create an iterable object from a pair of iterators. More...
#include <iterator.hpp>
Public Types | |
| using | value_type = typename std::iterator_traits<It>::value_type |
| Value type. | |
| using | iterator = It |
| Iterator type. | |
| using | sentinel = Sentinel |
| Sentinel type. | |
Public Member Functions | |
| constexpr | iterable_adaptor () noexcept(std::is_nothrow_default_constructible_v< iterator > &&std::is_nothrow_default_constructible_v< sentinel >) |
| Default constructor. | |
| constexpr | iterable_adaptor (iterator from, sentinel to) noexcept(std::is_nothrow_move_constructible_v< iterator > &&std::is_nothrow_move_constructible_v< sentinel >) |
| Creates an iterable object from a pair of iterators. | |
| constexpr iterator | begin () const noexcept |
| Returns an iterator to the beginning. | |
| constexpr sentinel | end () const noexcept |
| Returns an iterator to the end. | |
| constexpr iterator | cbegin () const noexcept |
| Returns an iterator to the beginning. | |
| constexpr sentinel | cend () const noexcept |
| Returns an iterator to the end. | |
Utility class to create an iterable object from a pair of iterators.
| It | Type of iterator. |
| Sentinel | Type of sentinel. |
Definition at line 141 of file iterator.hpp.
| using entt::iterable_adaptor< It, Sentinel >::iterator = It |
Iterator type.
Definition at line 145 of file iterator.hpp.
| using entt::iterable_adaptor< It, Sentinel >::sentinel = Sentinel |
Sentinel type.
Definition at line 147 of file iterator.hpp.
| using entt::iterable_adaptor< It, Sentinel >::value_type = typename std::iterator_traits<It>::value_type |
Value type.
Definition at line 143 of file iterator.hpp.
|
inlineconstexprnoexcept |
Default constructor.
Definition at line 150 of file iterator.hpp.
|
inlineconstexprnoexcept |
Creates an iterable object from a pair of iterators.
| from | Begin iterator. |
| to | End iterator. |
Definition at line 159 of file iterator.hpp.
|
inlineconstexprnoexcept |
Returns an iterator to the beginning.
Definition at line 167 of file iterator.hpp.
|
inlineconstexprnoexcept |
Returns an iterator to the beginning.
Definition at line 181 of file iterator.hpp.
|
inlineconstexprnoexcept |
Returns an iterator to the end.
Definition at line 186 of file iterator.hpp.
|
inlineconstexprnoexcept |
Returns an iterator to the end.
Definition at line 176 of file iterator.hpp.