GetMax

Description

Obtains the maximum T object pointer.

Prototype

const T *GetMax() const

T *GetMax()

Parameters

None

Returns

Maximum T object pointer

Restrictions

None

Example

int min = -1;
int max = 1024;
Range<int> range(&min. &max);

auto ret = range.GetMax(); // ret points to max.