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

自减变换器。 More...

#include <gen.h>

Public Member Functions

template<class T>
auto operator() (T x) const -> typename std::decay< decltype(--x)>::type
 对输入值自减1。

Detailed Description

自减变换器。

Member Function Documentation

◆ operator()()

template<class T>
auto console::ops::dec_t::operator() ( T x) const -> typename std::decay< decltype(--x)>::type
inline

对输入值自减1。

Parameters
x输入值。
Returns
–x。

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