1 #ifndef __JLANG__JRESOLVE__
2 #define __JLANG__JRESOLVE__
11 namespace JPP {
using namespace JLANG; }
21 template<
class U>
static auto exists(U*) -> decltype(
sizeof(U) >= 0);
22 template<
typename>
static auto exists(...) -> std::false_type;
25 static const bool value = std::is_same<bool, decltype(exists<T>(0))>::
value;
Test existence of class T.
static const bool value
true if an implementation of class T exists; else false
static auto exists(U *) -> decltype(sizeof(U) >=0)
static auto exists(...) -> std::false_type
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).