xgboost
|
一种比抛出 dmlc 异常更容易处理的错误类型。我们可以记录并传播系统错误码。 更多...
#include <result.h>
公共成员函数 | |
Result () noexcept(true)=default | |
Result (std::string msg) | |
Result (std::string msg, std::error_code errc) | |
Result (std::string msg, Result &&prev) | |
Result (std::string msg, std::error_code errc, Result &&prev) | |
Result (Result const &that)=delete | |
Result & | operator= (Result const &that)=delete |
Result (Result &&that)=default | |
Result & | operator= (Result &&that)=default |
bool | OK () const noexcept(true) |
std::string | Report () const |
auto | Code () const |
返回根系统错误。如果没有系统错误,这可能会返回成功。 更多... | |
bool | operator== (Result const &that) const noexcept(true) |
友元 | |
Result | operator+ (Result &&lhs, Result &&rhs) |
一种比抛出 dmlc 异常更容易处理的错误类型。我们可以记录并传播系统错误码。
|
defaultnoexcept |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
delete |
|
default |
|
inline |
返回根系统错误。如果没有系统错误,这可能会返回成功。
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |