Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::inc_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::inc_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: