Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::as< T > Struct Template Reference

转型变化器。 More...

#include <gen.h>

Public Member Functions

template<class U>
T operator() (U &&x)
 返回转型后的值。

Detailed Description

template<class T>
struct console::ops::as< T >

转型变化器。

Template Parameters
T目标元素类型。

Member Function Documentation

◆ operator()()

template<class T>
template<class U>
T console::ops::as< T >::operator() ( U && x)
inline

返回转型后的值。

Template Parameters
U输入元素类型。
Parameters
x输入值。
Returns
T 转化后的值。

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