Support Class Library
A set of tools providing classes and utility
FunctionObject.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <scl/macros.h>
4 #include <scl/concepts/require.h>
7 
8 namespace scl{
9  namespace concepts{
16  template <class F, class... Args>
18  constexpr operator bool() const{
19  return META::is_object<F>()
21  }
22  };
23  }
24 }
Global namespace of the SCL.
Definition: alias.hpp:3
Invocable concept, a type F is invocable with Args if meta::is_invocable<F, Args...>() is true.
Definition: Invocable.h:14
FunctionObject concept, a type F is a function object that accepts Args...