1 #ifndef __JLANG__JMULTIEQUALS__
2 #define __JLANG__JMULTIEQUALS__
14 namespace JPP {
using namespace JLANG; }
30 template<
class JClass_t,
class JTypelist_t>
41 template<
class JHead_t,
class JTail_t>
42 static inline bool eq(
const JClass_t& first,
43 const JClass_t& second,
46 return (static_cast<const JHead_t&>(first) ==
47 static_cast<const JHead_t&>(second) &&
60 template<
class JHead_t>
61 static inline bool eq(
const JClass_t& first,
62 const JClass_t& second,
65 return (static_cast<const JHead_t&>(first) ==
66 static_cast<const JHead_t&>(second));
78 const JClass_t& second)
92 const JClass_t& second)
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.
Template definition of auxiliary base class for composite data structures composed of base classes wi...
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.
static bool eq(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type)
Equals method for composite data types.