ReactOS  0.4.15-dev-3303-g1ade494
less_by_reference< T > Struct Template Reference

Public Member Functions

 less_by_reference (const T &arg)
 
bool operator() (const T &x) const
 

Private Attributes

const TfArg
 

Detailed Description

template<class T>
struct less_by_reference< T >

Definition at line 77 of file test_algo.cpp.

Constructor & Destructor Documentation

◆ less_by_reference()

template<class T>
less_by_reference< T >::less_by_reference ( const T arg)
inline

Definition at line 79 of file test_algo.cpp.

79 : fArg(arg) {}
const T & fArg
Definition: test_algo.cpp:82

Member Function Documentation

◆ operator()()

template<class T>
bool less_by_reference< T >::operator() ( const T x) const
inline

Definition at line 80 of file test_algo.cpp.

80 { return x < fArg; }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
const T & fArg
Definition: test_algo.cpp:82

Member Data Documentation

◆ fArg

template<class T>
const T& less_by_reference< T >::fArg
private

Definition at line 82 of file test_algo.cpp.

Referenced by less_by_reference< T >::operator()().


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