Support Class Library
A set of tools providing classes and utility
Namespaces | Functions
can_call.h File Reference
#include <type_traits>
#include <scl/tools/meta/is_same.h>

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::tools
 General purpose tooling.
 
 scl::tools::meta
 A namespace englobing all the TMP tools.
 
 scl::tools::meta::details
 Namespace for implementation details for TMP.
 

Functions

template<class Func , class... Args>
constexpr auto scl::tools::meta::details::__can_call_impl (Func f, bool) -> decltype(f(std::declval< Args >()...), std::true_type
 
template<class Func , class... >
constexpr std::false_type scl::tools::meta::details::__can_call_impl (Func,...)
 
template<class Func , class... Args>
constexpr bool scl::tools::meta::can_call (Func f)
 Determines whether or not the given function can be called with the given argument types. More...