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

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

#include <gextra.h>

Public Member Functions

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

Detailed Description

向下取整变换器。

Member Function Documentation

◆ operator()()

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

对输入值进行向下取整。

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

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