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>
109 static inline bool eq(
const JClass_t& first,
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)
Auxiliary classes and methods for language specific functionality.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
friend bool operator==(const JClass_t &first, const JClass_t &second)
Equal operator.
JTypeList< head_type, tail_type > JTypelist_t
static bool eq(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type)
Equals method for composite data types.
friend bool operator!=(const JClass_t &first, const JClass_t &second)
Not equal operator.
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.
Template definition of auxiliary base class for data structures composed of multiple base classes wit...
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.