void assign( int val, const error_category& cat ); | (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).
noexcept
specification: noexcept
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/error/error_condition/assign