|
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::min_element(c.begin(), c.end()))>::type |
| 获取容器中的最小值。 | |
容器最小值变换器。
|
inline |
获取容器中的最小值。
| c | 输入容器。 |