PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::Range< IT > Class Template Reference

Template range value class. More...

#include <Range.hpp>

Inheritance diagram for playrho::Range< IT >:
[legend]
Collaboration diagram for playrho::Range< IT >:
[legend]

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.
 

Detailed Description

template<typename IT>
class playrho::Range< IT >

Template range value class.


The documentation for this class was generated from the following file: