Peter Dimov
|
2e707ca921
|
Disable -Wstrict-aliasing on g++ 6, really
|
2021-06-14 02:50:31 +03:00 |
|
Peter Dimov
|
a6c4b6329c
|
Add a deleted T const& conversion for clang-6 and earlier
|
2021-06-14 02:35:48 +03:00 |
|
Peter Dimov
|
5b1909eba4
|
Disable -Wstrict-aliasing on g++ 6 and below
|
2021-06-14 02:15:37 +03:00 |
|
Peter Dimov
|
9dc13fd82a
|
Change value() when holding std::error_code
|
2021-06-14 02:09:31 +03:00 |
|
Peter Dimov
|
e9cdb10409
|
Use std::hash<std::error_code> in hash_value
|
2021-06-14 01:51:33 +03:00 |
|
Peter Dimov
|
e625bd0eea
|
Do not access d2_ when <system_error> isn't available; use std::error_code comparisons in op== and op<
|
2021-06-13 22:48:31 +03:00 |
|
Peter Dimov
|
66656f7044
|
Use copy-init instead of direct-init for older clangs
|
2021-06-13 20:45:50 +03:00 |
|
Peter Dimov
|
0d8511f571
|
Use reinterpret_cast to pointer instead of to reference
|
2021-06-13 20:40:27 +03:00 |
|
Peter Dimov
|
344eb1e1f8
|
Rework error_code for better std interop
|
2021-06-13 19:47:37 +03:00 |
|
Peter Dimov
|
ff18f28684
|
Move make_ functions for errc to errc.hpp
|
2020-08-27 16:15:10 +03:00 |
|
Peter Dimov
|
abc94afdb2
|
Extract error_code into its own header
|
2020-08-27 02:23:50 +03:00 |
|