MINT2
Public Member Functions | List of all members
equalByPointedTo< T > Class Template Reference

#include <DDTree.h>

Public Member Functions

bool operator() (const T a, const T b)
 

Detailed Description

template<typename T>
class equalByPointedTo< T >

Definition at line 25 of file DDTree.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool equalByPointedTo< T >::operator() ( const T  a,
const T  b 
)
inline

Definition at line 27 of file DDTree.h.

27  {
28  if(0 == a && 0==b) return true;
29  if(0 == a && 0!=b) return false;
30  if(0 !=a && 0==b) return false;
31  return a->getVal() == b->getVal();
32  }

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