Namespaces
Variants

cpp/error/system category: Difference between revisions

From cppreference.com
D41D8CD98F (talk | contribs)
add notes
Andreas Krug (talk | contribs)
m fmt
 
Line 1: Line 1:
{{cpp/title|system_category}}
{{cpp/title|system_category}}
{{cpp/error/navbar}}
{{cpp/error/navbar}}
{{ddcl | header=system_error | since=c++11 |
{{ddcl|header=system_error|since=c++11|
const std::error_category& system_category() noexcept;
const std::error_category& system_category() noexcept;
}}
}}
Line 18: Line 18:
===Example===
===Example===
{{example
{{example
|
|code=
| code=
#include <iomanip>
#include <iomanip>
#include <iostream>
#include <iostream>
Line 37: Line 36:
     }
     }
}
}
| p=true
|p=true
| output=
|output=
Category: generic
Category: generic
Value:    33
Value:    33
Line 50: Line 49:
===See also===
===See also===
{{dsc begin}}
{{dsc begin}}
{{dsc inc | cpp/error/dsc generic_category}}
{{dsc inc|cpp/error/dsc generic_category}}
{{dsc inc | cpp/error/dsc errc}}
{{dsc inc|cpp/error/dsc errc}}
{{dsc end}}
{{dsc end}}


{{langlinks|de|es|fr|it|ja|pt|ru|zh}}
{{langlinks|de|es|fr|it|ja|pt|ru|zh}}

Latest revision as of 10:46, 4 January 2024