std::error_code::valueC++ Utilities library Diagnostics library std::error_code int value() const noexcept; (since C++11) Returns the platform dependent error code value. Parameters(none) Return valueThe platform-dependent error code value. ...
std::error_code::value std::error_code::value int value() const; (since C++11) 返回与平台相关的错误值。 参数 %280%29 返回值 与平台相关的错误值。 例外 noexcept规格: noexcept 另见 category obtains the error_category for this error_code (public member function) 代码语言:txt 复制 ...
设error_code 为 system_category 中的值 0 (公开成员函数) 观察器 value 获得error_code 的值 (公开成员函数) category 获得此 error_code 的 error_category (公开成员函数) default_error_condition 获得此 error_code 的 error_condition (公开成员函数) ...
std::error_coderepresents a platform-dependent error code value. Eachstd::error_codeobject holds an error code value originating from the operating system or some low-level interface and a pointer to an object of typestd::error_category, which corresponds to the said interface. The error code...
构造一个 error_code (公开成员函数) operator= 赋值为另一 error_code (公开成员函数) assign 赋值为另一 error_code (公开成员函数) 修改器 clear 设error_code 为 system_category 中的值 0 (公开成员函数) 观察器 value 获得error_code 的值
error_code这套东西是出自 Beman Dawes(boost库发起者, 已经去世了) 与 Christoper Kohlhoff(asio作者)...
例如basic_datagram_socket::send成员函数,它的error code的版本是这样的:template<typenameConstBuffer...
This API supports the product infrastructure and is not intended to be used directly from your code. C# [Microsoft.Build.Framework.Output]publicstringStdErrEncoding {get;set; } Property Value String The encoding of the captured task standard error stream that is visible to the project. ...
channel_subscribe_->relay(error::service_stopped,nullptr); handle_complete(std::error_code()); } 开发者ID:Mrkebubun,项目名称:libbitcoin,代码行数:13,代码来源:protocol.cpp 示例6: connection_started ▲点赞 1▼ voidconnection_started(conststd::error_code& ec, channel_ptr node, ...
std::error_code::value std::error_condition std::error_condition::assign std::error_condition::category std::error_condition::clear std::error_condition::error_condition std::error_condition::message std::error_condition::operator bool std::error_condition::value std::exception std::exception:...