numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
invocable_as.h File Reference

Definition of invocable_as concept. More...

#include <functional>
#include <type_traits>
#include <utility>
#include "num_collect/base/concepts/implicitly_convertible_to.h"
+ Include dependency graph for invocable_as.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  num_collect::base::concepts::is_invocable_as< Func, Signature >
 Check whether the given function is invocable as a function with the given signature. More...
 
struct  num_collect::base::concepts::is_invocable_as< Func, Result(Args...)>
 Check whether the given function is invocable as a function with the given signature. More...
 

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::base
 Namespace of definitions common in this project.
 
namespace  num_collect::base::concepts
 Namespace of C++ concepts.
 
namespace  num_collect::base::concepts::impl
 Namespace of internal implementations.
 

Concepts

concept  num_collect::base::concepts::impl::invocable_as_impl
 Concept of functions which are invocable with given argument types and returns objects with given result type.
 
concept  num_collect::base::concepts::invocable_as
 Concept of functions invocable as a function with the given signature.
 

Variables

template<typename Func , typename Signature >
constexpr bool num_collect::base::concepts::is_invocable_as_v = is_invocable_as<Func, Signature>::value
 Check whether the given function is invocable as a function with the given signature.
 

Detailed Description

Definition of invocable_as concept.

Definition in file invocable_as.h.