|
Console Library 8.0.0
A header-only library that makes C++ simple
|
容器最大值变换器。 More...
#include <gextra.h>
Public Member Functions | |
| template<class Container> | |
| auto | operator() (const Container &c) const -> typename std::decay< decltype(*std::max_element(c.begin(), c.end()))>::type |
| 获取容器中的最大值。 | |
容器最大值变换器。
|
inline |
获取容器中的最大值。
| c | 输入容器。 |