GetMax

Function Usage

Obtains the maximum T object pointer.

Prototype

1
2
const T *GetMax() const
T *GetMax()

Parameters

None

Returns

Maximum T object pointer

Constraints

None

Examples

1
2
3
4
5
int min = -1;
int max = 1024;
Range<int> range(&min, &max);

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