cpp / latest / error / error_code / value.html /

std::error_code::value

int value() const noexcept;
(since C++11)

Returns the platform dependent error value.

Parameters

(none).

Return value

The platform-dependent error value.

See also

obtains the error_category for this error_code
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/error/error_code/value