3#ifndef TETL_ITERATOR_INCREMENTABLE_TRAITS_HPP
4#define TETL_ITERATOR_INCREMENTABLE_TRAITS_HPP
16concept has_difference_type =
requires {
typename T::difference_type; };
32 requires detail::has_difference_type<T>
39 requires(not detail::has_difference_type<T>) and
requires(T
const& a, T
const& b) {
The concept integral<T> is satisfied if and only if T is an integral type.
Definition integral.hpp:13
Definition adjacent_find.hpp:8
auto declval() noexcept -> add_rvalue_reference_t< T >
constexpr bool is_object_v
Definition is_object.hpp:35
TETL_BUILTIN_PTRDIFF ptrdiff_t
etl::ptrdiff_t is the signed integer type of the result of subtracting two pointers.
Definition ptrdiff_t.hpp:14
typename make_signed< T >::type make_signed_t
Definition make_signed.hpp:82
typename T::difference_type difference_type
Definition incrementable_traits.hpp:34
etl::ptrdiff_t difference_type
Definition incrementable_traits.hpp:28
Definition incrementable_traits.hpp:20