Horizon
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Variables
invoke.hpp File Reference
#include <functional>
#include <type_traits>
#include <meta/meta.hpp>
#include <concepts/concepts.hpp>
#include <range/v3/range_fwd.hpp>
#include <range/v3/utility/static_const.hpp>
#include <range/v3/detail/prologue.hpp>
#include <range/v3/detail/epilogue.hpp>

Go to the source code of this file.

Classes

struct  ranges::invoke_fn
 
struct  ranges::invoke_result< Fun, Args >
 

Namespaces

namespace  ranges::cpp20
 

Macros

#define RANGES_CONSTEXPR_INVOKE   1
 

Typedefs

template<typename T >
using ranges::is_reference_wrapper = meta::bool_< is_reference_wrapper_v< T > >
 
template<typename Fun , typename... Args>
using ranges::invoke_result_t = decltype(invoke(std::declval< Fun >(), std::declval< Args >()...))
 

Variables

template<typename T >
RANGES_INLINE_VAR constexpr bool ranges::is_reference_wrapper_v
 
template<typename Fn , typename... Args>
RANGES_INLINE_VAR constexpr bool ranges::is_invocable_v
 
template<typename Fn , typename... Args>
RANGES_INLINE_VAR constexpr bool ranges::is_nothrow_invocable_v