1 #ifndef __JLANG__JMULTIEQUALS__
2 #define __JLANG__JMULTIEQUALS__
14 namespace JPP {
using namespace JLANG; }
31 template<
class JClass_t,
class JType_t>
41 const JClass_t& second)
43 return static_cast<const JType_t&
>(
first) == static_cast<const JType_t&>(second);
55 const JClass_t& second)
57 return static_cast<const JType_t&
>(
first) != static_cast<const JType_t&>(second);
74 template<
class JClass_t,
class head_type,
class tail_type>
89 template<
class JHead_t,
class JTail_t>
90 static inline bool eq(
const JClass_t&
first,
91 const JClass_t& second,
94 return (static_cast<const JHead_t&>(first) ==
95 static_cast<const JHead_t&>(second) &&
108 template<
class JHead_t>
110 const JClass_t& second,
113 return (static_cast<const JHead_t&>(first) ==
114 static_cast<const JHead_t&>(second));
126 const JClass_t& second)
140 const JClass_t& second)
friend bool operator!=(const JClass_t &first, const JClass_t &second)
Not equal operator.
friend bool operator==(const JClass_t &first, const JClass_t &second)
Equal operator.
friend bool operator!=(const JClass_t &first, const JClass_t &second)
Not equal operator.
Auxiliary class for a type holder.
static bool eq(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type)
Equals method for composite data types.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
Template definition of auxiliary base class for data structures composed of multiple base classes wit...
JTypeList< head_type, tail_type > JTypelist_t
static bool eq(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type)
Equals method for composite data types.
friend bool operator==(const JClass_t &first, const JClass_t &second)
Equal operator.