5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ITERATOR_INDIRECT_RESULT_T_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_ITERATOR_INDIRECT_RESULT_T_HPP_
14#include "arene/base/stdlib_choice/enable_if.hpp"
19namespace indirect_result_detail {
28template <
typename F,
typename... Is>
29constexpr auto require_indirect_result(
43template <
class F,
class... Is>
44using indirect_result_t =
decltype(indirect_result_detail::require_indirect_result<F, Is...>());
Definition accumulate.hpp:37
constexpr bool is_invocable_v
Determine if a functor type is invocable with the specified argument types.
typename invoke_result< Fn, Args... >::type invoke_result_t
The return type of a functor invoked with the specified arguments.
Definition is_invocable.hpp:271
constexpr bool is_indirectly_readable_v
Query trait to determine if an iterator is indirectly readable. A backport of the [std::indirectly_re...
Is... >()) indirect_result_t
Determines the result type of invoking a callable F with the references obtained from indirectly read...
Definition indirect_result_t.hpp:44
typename iter_reference_detail::iter_reference_impl< Itr >::type iter_reference_t
Determins the reference type of the given iterator.
Definition iter_reference_t.hpp:47
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