Commit 8d6bfc9
committed
error_category : 出力を修正
2つ目の出力について、 system_ec.default_error_condition() の内部で呼ばれる std::system_category().default_error_condition(ev) 仮想関数は、引数 ev がPOSIXの errno であった場合に error_condition(ev, generic_category()) を返します。
よってどちらも error_category は std::generic_category() になるので2つ目の出力は true になります。1 parent 3c0b15e commit 8d6bfc9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments