YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
ystdex::qualified_decay< _type > 模板结构体 参考

保持修饰符的类型退化。 更多...

#include <type_op.hpp>

Public 类型

using type = conditional_t< is_function< value_type >::value||is_array< value_type >::value, decay_t< _type >, _type >
 

Private 类型

using value_type = remove_reference_t< _type >
 

详细描述

template<typename _type>
struct ystdex::qualified_decay< _type >

保持修饰符的类型退化。

注解
结果不移除非数组或函数类型的引用,可用于参数转发。
自从
build 290

参数移除引用后为数组或函数类型时同 decay ,否则结果为参数。

在文件 type_op.hpp716 行定义.

成员类型定义说明

template<typename _type>
using ystdex::qualified_decay< _type >::type = conditional_t<is_function<value_type>::value || is_array<value_type>::value, decay_t<_type>, _type>

在文件 type_op.hpp723 行定义.

template<typename _type>
using ystdex::qualified_decay< _type >::value_type = remove_reference_t<_type>
private

在文件 type_op.hpp719 行定义.


该结构体的文档由以下文件生成: