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