目录

GetMax

Function Description

Obtains the maximum T object pointer.

Function Prototype

const T *GetMax() const;
T *GetMax();

Parameters

None

Return Value

Maximum T object pointer.

Restrictions

None

Calling Example

int min = -1;
int max = 1024;
Range<int> range(&min,&max);
 
auto ret = range.GetMax(); // **ret** points to **max**.