8 #ifndef DXLE_INC_UTILITY_CONSTANT_RANGE_LOOP_HPP_ 9 #define DXLE_INC_UTILITY_CONSTANT_RANGE_LOOP_HPP_ 18 template<typename T, enable_if_t<std::is_arithmetic<T>::value,
nullptr_t> =
nullptr>
22 typedef std::iterator<std::random_access_iterator_tag, T> my_t;
39 #ifndef DXLE_SUPPORT_ONLY_CXX11_CONSTEXPR 83 template<typename T, enable_if_t<std::is_arithmetic<T>::value, nullptr_t> =
nullptr>
101 template<typename T, enable_if_t<std::is_arithmetic<T>::value, nullptr_t> =
nullptr>
105 template<typename T, enable_if_t<std::is_arithmetic<T>::value, nullptr_t> =
nullptr>
107 return{ begin, end };
110 using namespace utility;
118 #endif //DXLE_INC_UTILITY_CONSTANT_RANGE_LOOP_HPP_ DXLE_CONSTEXPR nth_loop< T > rep(T n) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR bool operator>(const counter_iterator &n) const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR bool operator!=(const counter_iterator &rhs) const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CXX14_CONSTEXPR counter_iterator & operator=(const counter_iterator &o) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR bool operator<=(const counter_iterator &n) const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CXX14_CONSTEXPR counter_iterator & operator+=(counter_iterator it) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR const T & operator*() const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CXX14_CONSTEXPR counter_iterator & operator-=(counter_iterator it) DXLE_NOEXCEPT_OR_NOTHROW
my_t::value_type value_type
DXLE_CONSTEXPR iterator end() const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR counter_iterator(T n)
DXLE_CXX14_CONSTEXPR counter_iterator & operator--() DXLE_NOEXCEPT_OR_NOTHROW
my_t::iterator_category iterator_category
DXLE_CONSTEXPR nth_loop(T n)
DXLE_CONSTEXPR bool operator<(const counter_iterator &n) const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR counter_iterator operator+(difference_type n) const DXLE_NOEXCEPT_OR_NOTHROW
#define DXLE_CXX14_CONSTEXPR
DXLE_CONSTEXPR counter_iterator< T > iterator_next(counter_iterator< T > it) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR iterator begin() const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR bool operator>=(const counter_iterator &n) const DXLE_NOEXCEPT_OR_NOTHROW
my_t::difference_type difference_type
DXLE_CXX14_CONSTEXPR counter_iterator & operator++() DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR nth_loop(T begin, T end)
DXLE_CONSTEXPR T operator[](difference_type n) const DXLE_NOEXCEPT_OR_NOTHROW
#define DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR dxle::utility::counter_iterator< T > next(dxle::utility::counter_iterator< T > it, typename dxle::utility::counter_iterator< T >::difference_type n) DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR bool operator==(const counter_iterator &rhs) const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR counter_iterator operator-(difference_type n) const DXLE_NOEXCEPT_OR_NOTHROW
DXLE_CONSTEXPR counter_iterator()
std::remove_cv_t< T > value_type
my_t::reference reference