std::make_error_condition(std::errc) - cppreference.com (original) (raw)

Creates an error condition for an errc value e. Sets the error value to int(e) and error category to std::generic_category.

[edit] Parameters

[edit] Return value

Error condition for e.

[edit] Example