TryGetMax
TryGetMax
Gets the maximum element of a red–black tree.
bool TryGetMax(
T& max // a variable for writing the value
);Parameters
- &max
[out] The variable to which the maximum value will be written.
Return Value
Returns true on successful, or false otherwise.
Last updated on