void assign( int val, const error_category& cat ) noexcept; | (since C++11) |
Assigns contents to an error condition. Sets the error code to val
and error category to cat
.
val | - | error code |
cat | - | error category |
(none).
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/error/error_condition/assign