std::future_error::code
const std::error_code& code() const noexcept; | (начиная с C++11) |
Возвращает сохранённый код ошибки.
Параметры
(нет)
Возвращаемое значение
Сохранённый код ошибки.
См. также
| возвращает поясняющую строку, связанную с кодом ошибки (открытая функция-член) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/thread/future_error/code