File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 10461046pointer to the string \tcode {"system"}. The object's \tcode {default_error_condition}
10471047virtual function shall behave as follows:
10481048
1049- If the argument \tcode {ev} corresponds to a POSIX \tcode {errno} value \tcode {posv}, the
1050- function shall return \tcode {error_condition(posv, generic_category())}.
1051- Otherwise, the function shall return \tcode {error_condition(ev,
1052- system_category())}. What constitutes correspondence for any given operating
1053- system is unspecified.
1049+ If the argument \tcode {ev} is equal to 0,
1050+ the function returns \tcode {error_condition(0, generic_category())}.
1051+ Otherwise,
1052+ if \tcode {ev} corresponds to a POSIX \tcode {errno} value \tcode {pxv},
1053+ the function returns \tcode {error_condition(pxv, generic_category())}.
1054+ Otherwise, the function returns \tcode {error_condition(ev, system_category())}.
1055+ What constitutes correspondence for any given operating system is unspecified.
10541056\begin {note }
10551057The number of potential system error codes is large
10561058and unbounded, and some might not correspond to any POSIX \tcode {errno} value. Thus
You can’t perform that action at this time.
0 commit comments