测试类型是否具有 nothrow 移动构造函数。
语法
template <class Ty>
struct is_nothrow_move_constructible;
参数
Ty
要查询的类型。
注解
如果类型 Ty 具有 nothrow 移动构造函数,类型谓词的实例将保留为 true,否则保留为 false。
要求
标头:<type_traits>
命名空间: std
测试类型是否具有 nothrow 移动构造函数。
template <class Ty>
struct is_nothrow_move_constructible;
Ty
要查询的类型。
如果类型 Ty 具有 nothrow 移动构造函数,类型谓词的实例将保留为 true,否则保留为 false。
标头:<type_traits>
命名空间: std