6#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ITERATOR_ITER_RVALUE_REFERENCE_T_HPP_
7#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ITERATOR_ITER_RVALUE_REFERENCE_T_HPP_
13#include "arene/base/iterator/detail/can_reference.hpp"
14#include "arene/base/iterator/detail/is_dereferenceable.hpp"
16#include "arene/base/stdlib_choice/declval.hpp"
17#include "arene/base/stdlib_choice/enable_if.hpp"
22namespace iter_rvalue_reference_detail {
25template <
typename Itr>
31template <
typename Itr,
typename = constra
ints<>>
32class iter_rvalue_reference_t;
37template <
typename Itr>
38class iter_rvalue_reference_t<
41 std::
enable_if_t<iterator_detail::is_dereferenceable_v<Itr>>,
45 using type = iter_move_t<Itr>;
65template <
typename Itr>
Definition accumulate.hpp:37
typename iter_rvalue_reference_detail::iter_rvalue_reference_t< Itr >::type iter_rvalue_reference_t
Determins the rvalue-reference type of the given iterator.
Definition iter_rvalue_reference_t.hpp:66
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
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
auto declval() noexcept -> T &&
A dummy function that is declared but not defined, with a user-specified return type,...