Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JLANG::JLANG_LOCAL::JNoequals< T > Class Template Reference

Template base class for data structures without equality capability. More...

#include <JComparisonAvailable.hh>

Friends

JNullType operator== (const T &first, const T &second)
 Equal operator.
 
JNullType operator!= (const T &first, const T &second)
 Not equal operator.
 

Detailed Description

template<class T>
class JLANG::JLANG_LOCAL::JNoequals< T >

Template base class for data structures without equality capability.

This class implements the operators == != .

Definition at line 117 of file JComparisonAvailable.hh.

Friends And Related Symbol Documentation

◆ operator==

template<class T >
JNullType operator== ( const T & first,
const T & second )
friend

Equal operator.

Parameters
firstfirst object
secondsecond object
Returns
true if two objects are equal; else false

Definition at line 126 of file JComparisonAvailable.hh.

127 {
128 return JNullType();
129 }

◆ operator!=

template<class T >
JNullType operator!= ( const T & first,
const T & second )
friend

Not equal operator.

Parameters
firstfirst object
secondsecond object
Returns
true if two objects are not equal; else false

Definition at line 139 of file JComparisonAvailable.hh.

140 {
141 return JNullType();
142 }

The documentation for this class was generated from the following file: