5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ITERATOR_IS_WEAKLY_INCREMENTABLE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ITERATOR_IS_WEAKLY_INCREMENTABLE_HPP_
15#include "arene/base/stdlib_choice/declval.hpp"
16#include "arene/base/stdlib_choice/enable_if.hpp"
17#include "arene/base/stdlib_choice/integral_constant.hpp"
18#include "arene/base/stdlib_choice/is_integral.hpp"
19#include "arene/base/stdlib_choice/is_same.hpp"
20#include "arene/base/stdlib_choice/is_signed.hpp"
21#include "arene/base/stdlib_choice/remove_cv.hpp"
22#include "arene/base/stdlib_choice/remove_reference.hpp"
29namespace weakly_incrementable_detail {
33template <
typename Itr>
38template <
typename Itr>
43template <
typename Itr>
50template <
typename Itr,
typename = constra
ints<>>
56template <
typename Itr>
57class weakly_incrementable_impl<
82template <
typename Itr>
89template <
typename Itr>
A trait which validates if an iterator models pre/post-increment operations without requiring equalit...
Definition is_weakly_incrementable.hpp:83
static constexpr value_type value
Definition integral_constant.hpp:34
Definition accumulate.hpp:37
constexpr bool substitution_succeeds
Determines if a template can be instantiated successfully, similar to C++20's requires clause.
constexpr bool is_weakly_incrementable_v
Predicate trait for checking if an iterator models the weakly incrementable concept.
typename constraints_impl::constraints< EnableIfs... >::type constraints
Helper used to express template constraints in a consistent way using std::enable_if_t.
Definition constraints.hpp:51
Definition accumulate.hpp:36
bool_constant< false > false_type
An alias for bool_constant<false>
Definition integral_constant.hpp:79
typename enable_if< Condition, Type >::type enable_if_t
Type alias to support constraining templates. Is an alias for the specified type if the Condition is ...
Definition enable_if.hpp:41
bool_constant< true > true_type
An alias for bool_constant<true>
Definition integral_constant.hpp:76
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...