NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
is_pointer_interconvertible_base_of< Base, Derived > 模板结构体 参考

判断Base是否是Derived的指针可互转换基类 更多...

#include <type_traits.hpp>

类 is_pointer_interconvertible_base_of< Base, Derived > 继承关系图:
[图例]

额外继承的成员函数

Public 类型 继承自 integral_constant< bool, Value >
using value_type
 值类型
using type
 自身类型
Public 成员函数 继承自 integral_constant< bool, Value >
constexpr operator value_type () const noexcept
 显式转换到值类型的运算符
constexpr value_type operator() () const noexcept
 函数调用运算符,用于获取值
静态 Public 属性 继承自 integral_constant< bool, Value >
static constexpr bool value
 存储的整数值

详细描述

template<typename Base, typename Derived>
struct is_pointer_interconvertible_base_of< Base, Derived >

判断Base是否是Derived的指针可互转换基类

模板参数
Base基类类型
Derived派生类类型

指针可互转换基类意味着可以将派生类指针安全地转换为基类指针。

在文件 type_traits.hpp2224 行定义.


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