Support Class Library
A set of tools providing classes and utility
RegularInvocable.h
Go to the documentation of this file.
1 #pragma once
2 
3 //#ifdef SCL_CPP17
4 //#include <scl/concepts/require.h>
5 #include <scl/macros.h>
8 
9 namespace scl{
10  namespace concepts{
17  template <class F, class... Args>
19  constexpr operator bool() const{
20  return META::constexpr_assert<Invocable<F, Args...>{}>();
21  }
22  };
23  }
24 }
25 //#endif
constexpr bool constexpr_assert()
Global namespace of the SCL.
Definition: alias.hpp:3
RegularInvocable concept, a type F is regular invocable with Args if it is Invocable and is equality ...
Invocable concept, a type F is invocable with Args if meta::is_invocable<F, Args...>() is true.
Definition: Invocable.h:14