MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
anycast_exception结构体 参考

any转换异常 更多...

#include <any.hpp>

类 anycast_exception 继承关系图:
[图例]

额外继承的成员函数

Public 成员函数 继承自 exception
 exception (const char *info=static_type, const char *type=static_type, const int code=0)
 构造函数
 exception (const exception &other) noexcept
 复制构造函数
exceptionoperator= (const exception &other) noexcept
 复制赋值运算符
 exception (exception &&other) noexcept
 移动构造函数
exceptionoperator= (exception &&other) noexcept
 移动赋值运算符
template<typename Error>
 exception (const Error &error)
 模板构造函数
virtual ~exception ()=default
 虚析构函数
MSTL_NODISCARD const char * what () const noexcept
 获取错误信息
MSTL_NODISCARD const char * type () const noexcept
 获取异常类型
MSTL_NODISCARD int code () const noexcept
 获取异常码
静态 Public 属性 继承自 exception
static constexpr auto static_type = "exception"
 静态类型字符串

详细描述

any转换异常


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