Template range value class. More...
#include <Range.hpp>
Public Types | |
| using | iterator_type = IT |
| Iterator type. | |
| using | value_type = decltype(*std::declval< iterator_type >()) |
| Value type alias. | |
Public Member Functions | |
| constexpr | Range () noexcept=default |
| Default constructor. | |
| constexpr | Range (iterator_type iter_begin, iterator_type iter_end) noexcept |
| Initializing constructor. | |
| constexpr iterator_type | begin () const noexcept |
| Gets the "begin" index value. | |
| constexpr iterator_type | end () const noexcept |
| Gets the "end" index value. | |
| constexpr bool | empty () const noexcept |
| Whether this range is empty. | |
Private Attributes | |
| iterator_type | m_begin {} |
| Begin iterator. | |
| iterator_type | m_end {} |
| End iterator. | |
Template range value class.