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

取负变换器。 More...

#include <gen.h>

Public Member Functions

template<class T>
auto operator() (T x) const -> decltype(-x)
 对输入值取负。

Detailed Description

取负变换器。

Member Function Documentation

◆ operator()()

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

对输入值取负。

Parameters
x输入值。
Returns
-x。

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