aGrUM  0.13.2
gum::AlmostDifferent< T * > Struct Template Reference

Indicate whether two elements are (almost) different or not. More...

#include <utils_misc.h>

Public Member Functions

bool operator() (const T *t1, const T *t2)
 

Detailed Description

template<typename T>
struct gum::AlmostDifferent< T * >

Indicate whether two elements are (almost) different or not.

Template Parameters
TThe type of the elements to compare.

Definition at line 156 of file utils_misc.h.

Member Function Documentation

template<typename T >
bool gum::AlmostDifferent< T * >::operator() ( const T *  t1,
const T *  t2 
)
inline

Definition at line 157 of file utils_misc.h.

157 { return (t1 != t2); }

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