TryGetMax

获得已排序集合的最大元素。

bool TryGetMax(
   T&  max     // 用来编写值的变量
   );

参数

&max

[out]  将要编写最大值的变量。

返回值

成功返回true,否则返回false。