std::valarray::max
T max() const; | ? | ? |
---|
计算元素的最大值。
如果没有元素,则行为是未定义的。
只有在下列情况下才能使用该函数operator<
是为类型定义的。T
...
参数
%280%29
返回值
元素的最大值。
例
另见
min | returns the smallest element (public member function) |
---|
? cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com