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

忽略任意参数的函数对象类型。 More...

#include <union.h>

Public Member Functions

template<class... Ts>
void operator() (Ts &&...)
 函数调用运算符,忽略所有参数。

Detailed Description

忽略任意参数的函数对象类型。

提供一个接受任意数量、任意类型参数的函数调用运算符,该运算符不执行任何操作。

Member Function Documentation

◆ operator()()

template<class... Ts>
void console::ignore_t::operator() ( Ts && ...)
inline

函数调用运算符,忽略所有参数。

Template Parameters
Ts参数类型列表 (任意)。
Parameters
参数被完全忽略,不执行任何操作。

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