Namespaces
Variants
Views
Actions

std::error_condition::assign

From cppreference.com
< cpp‎ | error‎ | error condition
Revision as of 15:34, 1 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 
 
 
 
 
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.

[edit] Parameters

val - error code
cat - error category

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept