| 27 | namespace |
| 28 | { |
| 29 | void report_system_error(const system_error& ex) |
| 30 | { |
| 31 | cout << " threw system_error:\n" |
| 32 | << " ex.code().value() is " << ex.code().value() << '\n' |
| 33 | << " ex.code().category().name() is " << ex.code().category().name() << '\n' |
| 34 | << " ex.what() is " << ex.what() << '\n' |
| 35 | ; |
| 36 | } |
| 37 | |
| 38 | void report_filesystem_error(const system_error& ex) |
| 39 | { |