DxLibEx
dxle::utility::nth_loop< T, > Class Template Reference

#include <constant_range_loop.hpp>

Public Types

using value_type = std::remove_cv_t< T >
 
using iterator = counter_iterator< value_type >
 

Public Member Functions

DXLE_CONSTEXPR nth_loop (T n)
 
DXLE_CONSTEXPR nth_loop (T begin, T end)
 
DXLE_CONSTEXPR iterator begin () const DXLE_NOEXCEPT_OR_NOTHROW
 
DXLE_CONSTEXPR iterator end () const DXLE_NOEXCEPT_OR_NOTHROW
 

Detailed Description

template<typename T, enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
class dxle::utility::nth_loop< T, >

Definition at line 84 of file constant_range_loop.hpp.

Member Typedef Documentation

§ iterator

template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
using dxle::utility::nth_loop< T, >::iterator = counter_iterator<value_type>

Definition at line 87 of file constant_range_loop.hpp.

§ value_type

template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
using dxle::utility::nth_loop< T, >::value_type = std::remove_cv_t<T>

Definition at line 86 of file constant_range_loop.hpp.

Constructor & Destructor Documentation

§ nth_loop() [1/2]

template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
DXLE_CONSTEXPR dxle::utility::nth_loop< T, >::nth_loop ( n)
inline

Definition at line 91 of file constant_range_loop.hpp.

§ nth_loop() [2/2]

template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
DXLE_CONSTEXPR dxle::utility::nth_loop< T, >::nth_loop ( begin,
end 
)
inline

Definition at line 92 of file constant_range_loop.hpp.

Member Function Documentation

§ begin()

template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
DXLE_CONSTEXPR iterator dxle::utility::nth_loop< T, >::begin ( ) const
inline

Definition at line 93 of file constant_range_loop.hpp.

§ end()

template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
DXLE_CONSTEXPR iterator dxle::utility::nth_loop< T, >::end ( ) const
inline

Definition at line 96 of file constant_range_loop.hpp.


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