Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
error_code example
#include <system_error> #include <iostream> #include <string> int main() { using namespace std; error_code ec1{static_cast<int>(errc::owner_dead), system_category()}; cout << ec1.value() << " : " << ec1.message() << '\n'; error_code ec2{static_cast<int>(errc::owner_dead), generic_category()}; cout << ec2.value() << " : " << ec2.message() << '\n'; error_condition en = make_error_condition(errc::owner_dead); cout << en.value() << " : " << en.message() << '\n'; }
run
|
edit
|
history
|
help
0
lab1
cross-platform sleep function
Unicode_write2file
#21.2
Thing
Fast sine to fill array (sin/cos pair)
no-thread
not a parameter pack
primitive type copy constructor
-1 Girene Kadar Ortalama