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

#include <DDTree.h>

Public Member Functions

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

Detailed Description

template<typename T>
class lessByPointedTo< T >

Definition at line 14 of file DDTree.h.

Member Function Documentation

◆ operator()()

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

Definition at line 16 of file DDTree.h.

16  {
17  if(0 == a && 0==b) return false;
18  if(0 == a && 0!=b) return true;
19  if(0 !=a && 0==b) return false;
20  return a->getVal() < b->getVal();
21  }

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