Template sized range value class. More...
#include <Range.hpp>
Public Types | |
using | size_type = std::size_t |
Size type. | |
Public Types inherited from playrho::Range< IT > | |
using | iterator_type = IT |
Iterator type. | |
using | value_type = decltype(*std::declval< iterator_type >()) |
Value type alias. | |
Public Member Functions | |
constexpr | SizedRange () noexcept=default |
Default constructor. | |
constexpr | SizedRange (typename Range< IT >::iterator_type iter_begin, typename Range< IT >::iterator_type iter_end, size_type size) noexcept |
Initializing constructor. | |
constexpr size_type | size () const noexcept |
Gets the size of this range. | |
Public Member Functions inherited from playrho::Range< IT > | |
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 | |
size_type | m_size {} |
Size in number of elements in the range. | |
Template sized range value class.