公共成员函数 | 所有成员列表
rmm::bad_alloc 类参考

RMM 分配失败时抛出的异常。 更多...

#include <error.hpp>

rmm::bad_alloc 的继承图
Inheritance graph
[图例]
rmm::bad_alloc 的协作图
Collaboration graph
[图例]

公共成员函数

 bad_alloc (const char *msg)
 构造带错误消息的 bad_alloc更多...
 
 bad_alloc (std::string const &msg)
 构造带错误消息的 bad_alloc更多...
 
const char * what () const noexcept override
 解释性字符串。 更多...
 

详细描述

RMM 分配失败时抛出的异常。

构造函数和析构函数文档

◆ bad_alloc() [1/2]

rmm::bad_alloc::bad_alloc ( const char *  msg)
inline

构造带错误消息的 bad_alloc

参数
msg与异常关联的消息

◆ bad_alloc() [2/2]

rmm::bad_alloc::bad_alloc ( std::string const &  msg)
inline

构造带错误消息的 bad_alloc

参数
msg与异常关联的消息

成员函数文档

◆ what()

const char* rmm::bad_alloc::what ( ) const
inlineoverridenoexcept

解释性字符串。

返回值
解释性字符串

本类的文档由以下文件生成