Thanks to visit codestin.com Credit goes to cplusplus.com
void assign (int val, const error_category& cat) noexcept;