halcheck 1.0
Loading...
Searching...
No Matches
lib/functional

Utilities for functional programming. More...

Classes

struct  halcheck::lib::constructor< T >
 A function object that calls the constructor of a given type. More...
 
class  halcheck::lib::function_view< R(Args...)>
 Represents a reference to a function object. More...
 
class  halcheck::lib::function_view< R(Args...) const >
 Represents a const reference to a function object. More...
 
struct  halcheck::lib::is_invocable_r< R, F, Args >
 An implementation of std::is_invocable_r. More...
 
struct  halcheck::lib::is_invocable< F, Args >
 An implementation of std::is_invocable. More...
 
struct  halcheck::lib::is_nothrow_invocable< F, Args >
 An implementation of std::is_nothrow_invocable. More...
 
struct  halcheck::lib::is_nothrow_invocable_r< R, F, Args >
 An implementation of std::is_nothrow_invocable_r. More...
 
class  halcheck::lib::move_only_function< R(Args...)>
 An implementation of std::move_only_function. More...
 
class  halcheck::lib::move_only_function< R(Args...) const >
 An implementation of std::move_only_function. More...
 
class  halcheck::lib::move_only_function< R(Args...) const & >
 An implementation of std::move_only_function. More...
 
class  halcheck::lib::move_only_function< R(Args...) & >
 An implementation of std::move_only_function. More...
 
class  halcheck::lib::move_only_function< R(Args...) const && >
 An implementation of std::move_only_function. More...
 
class  halcheck::lib::move_only_function< R(Args...) && >
 An implementation of std::move_only_function. More...
 
struct  halcheck::lib::overload< Args >
 Represents an overload set as a single value. More...
 

Typedefs

template<typename F , typename... Args>
using halcheck::lib::invoke_result_t = decltype(lib::invoke(std::declval<F>(), std::declval<Args>()...))
 An implementation of std::invoke_result_t.
 

Functions

template<typename... Args>
lib::overload< Args... > halcheck::lib::make_overload (Args... args)
 Constructs an overloaded functor from a set of pre-existing functors.
 

Variables

struct { 
 
halcheck::lib::invoke 
 An implementation of std::invoke.
 

Detailed Description

Utilities for functional programming.

See also
https://en.cppreference.com/w/cpp/header/functional