Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::ceil_t Struct Reference

向上取整变换器。 More...

#include <gextra.h>

Public Member Functions

template<class T>
auto operator() (T x) const -> decltype(std::ceil(x))
 对输入值进行向上取整。

Detailed Description

向上取整变换器。

Member Function Documentation

◆ operator()()

template<class T>
auto console::ops::ceil_t::operator() ( T x) const -> decltype(std::ceil(x))
inline

对输入值进行向上取整。

Parameters
x输入值。
Returns
std::ceil(x)。

The documentation for this struct was generated from the following file: