DxLibEx
dxle::utility Namespace Reference

Classes

class  counter_iterator
 
class  nth_loop
 

Functions

template<typename T >
DXLE_CONSTEXPR counter_iterator< T > operator+ (typename counter_iterator< T >::difference_type n, const counter_iterator< T > &it) DXLE_NOEXCEPT_OR_NOTHROW
 
template<typename T >
DXLE_CONSTEXPR counter_iterator< T > operator- (typename counter_iterator< T >::difference_type n, const counter_iterator< T > &it) DXLE_NOEXCEPT_OR_NOTHROW
 
template<typename T >
DXLE_CONSTEXPR counter_iterator< T > iterator_next (counter_iterator< T > it) DXLE_NOEXCEPT_OR_NOTHROW
 
template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
DXLE_CONSTEXPR nth_loop< T > rep (T n) DXLE_NOEXCEPT_OR_NOTHROW
 
template<typename T , enable_if_t< std::is_arithmetic< T >::value, nullptr_t > = nullptr>
DXLE_CONSTEXPR nth_loop< T > rep (const T &begin, const T &end) DXLE_NOEXCEPT_OR_NOTHROW
 

Function Documentation

§ iterator_next()

template<typename T >
DXLE_CONSTEXPR counter_iterator<T> dxle::utility::iterator_next ( counter_iterator< T >  it)

Definition at line 81 of file constant_range_loop.hpp.

§ operator+()

template<typename T >
DXLE_CONSTEXPR counter_iterator<T> dxle::utility::operator+ ( typename counter_iterator< T >::difference_type  n,
const counter_iterator< T > &  it 
)

Definition at line 77 of file constant_range_loop.hpp.

§ operator-()

template<typename T >
DXLE_CONSTEXPR counter_iterator<T> dxle::utility::operator- ( typename counter_iterator< T >::difference_type  n,
const counter_iterator< T > &  it 
)

Definition at line 79 of file constant_range_loop.hpp.

§ rep() [1/2]

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

Definition at line 102 of file constant_range_loop.hpp.

§ rep() [2/2]

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

Definition at line 106 of file constant_range_loop.hpp.