Calico
|
Returns whether the function call is valid. When the template parameter is equal to F(T...)
, it will return true if the function object F
can be called with parameters of type T...
. If variadic templates are not supported, a maximum of 5 arguments are supported.
More...
#include <utility.hpp>
Inherits cal::_priv::valid_call< T >.
Public Types | |
typedef integral_constant | type |
Type of the integral_constant . | |
typedef T | value_type |
Type of the value . | |
Public Member Functions | |
constexpr | operator value_type () const |
Converts the integral constant type into its constant value. | |
Static Public Attributes | |
static const bool | value |
Whether the function object can be called with the given argument types. | |
Returns whether the function call is valid. When the template parameter is equal to F(T...)
, it will return true if the function object F
can be called with parameters of type T...
. If variadic templates are not supported, a maximum of 5 arguments are supported.
Returns whether a function call is valid.
When instantiated with a template argument of the form F(T...)
, its value
is true
if the function object F
can be called with arguments of type T...
and false
otherwise.