Experimental Code
Code Written To Experiment With Various Techniques And Otherwise Not Very Useful...
Experiment::PointerLess< T > Class Template Reference

Comparison of two pointers values using operator<. More...

#include <Predicates.h>

Public Member Functions

bool operator() (const T *const a, const T *const b)
 Compare the values *a and *b using operator<. More...
 

Detailed Description

template<class T>
class Experiment::PointerLess< T >

Comparison of two pointers values using operator<.

This makes explicit comparison of two pointers of a single given type.

Template Parameters
Tthe type to compare as

Definition at line 30 of file Predicates.h.

Member Function Documentation

◆ operator()()

template<class T >
bool Experiment::PointerLess< T >::operator() ( const T *const  a,
const T *const  b 
)
inline

Compare the values *a and *b using operator<.

Parameters
athe value to compare to b
bthe value to compare to a
Returns
true if *a < *b, otherwise false.

Definition at line 39 of file Predicates.h.


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