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

倒数变换器。 More...

#include <gen.h>

Public Member Functions

template<class T>
auto operator() (T x) const -> decltype(1/x)
 计算输入值的倒数。

Detailed Description

倒数变换器。

Member Function Documentation

◆ operator()()

template<class T>
auto console::ops::reciprocal_t::operator() ( T x) const -> decltype(1/x)
inline

计算输入值的倒数。

Parameters
x输入值。
Returns
1 / x。

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