Utopia 2
Framework for studying models of complex & adaptive systems.
|
Determines if the type T implements a call operator with arbitrary signature. More...
#include <type_traits.hh>
Classes | |
struct | Check |
struct | Derived |
struct | Fallback |
Static Public Attributes | |
static constexpr bool | value = (sizeof(f< Derived >(nullptr)) == 1) |
Private Types | |
typedef char | True[1] |
typedef char | False[2] |
Static Private Member Functions | |
template<typename S > | |
static constexpr True & | f (...) |
template<typename S > | |
static constexpr False & | f (Check< void(Fallback::*)(), &S::operator()> *) |
Determines if the type T implements a call operator with arbitrary signature.
T | Type to check |
|
private |
|
private |
|
staticconstexprprivate |
|
staticconstexprprivate |
|
staticconstexpr |