106 Commits
Author SHA1 Message Date
Peter Dimov 5223c94aa9 Disable throws_assign_fail.cpp for GCC/release, because gcc-12 fails it at compile time 2022-06-18 23:07:41 +03:00
Peter Dimov 4200b00973 Add converting constructor to result (refs #82) 2022-06-18 18:12:06 +03:00
Peter Dimov 256fe92dbb Add error_code(error_code const& ec, source_location const* loc) and a corresponding assign 2022-05-05 05:02:37 +03:00
Peter Dimov 65ed1eef66 Add std_interop_test14.cpp (refs #79) 2022-03-18 08:12:05 +02:00
Peter Dimov 6de20eeebc Add std_interop_test13 2022-03-18 08:12:05 +02:00
Peter Dimov 8d8e6a90de Add an errc::make_error_code overload taking a source location 2022-02-09 20:41:34 +02:00
Peter Dimov 716c2ed8ef Disable result tests on GCC 4.7 2022-02-07 21:40:26 +02:00
Peter Dimov ae079810be Add std_interop_test12.cpp 2022-02-07 04:30:50 +02:00
Peter Dimov 72a79b1dcb Disable -Wsign-compare for GCC 4.4 2022-02-06 22:29:28 +02:00
Peter Dimov 5700936367 Add ec_wstream_test (refs #76) 2021-12-21 19:51:08 +02:00
Peter Dimov 8c9ceba775 Add negative test for constructing result<int> from errc_t (refs #74) 2021-12-09 20:19:05 +02:00
Peter Dimov 4ec1e54099 Enable error_code construction from enums specializing std::is_error_code_enum. Fixes #70. 2021-10-11 02:02:22 +03:00
Peter Dimov 5217e58a7d Enable implicit construction for aggregates using {{ ... }} 2021-10-02 22:07:05 +03:00
Peter Dimov ce37e23491 Protect against dangling references in op* and value() 2021-10-02 19:16:04 +03:00
Peter Dimov 420a262733 Fix warnings_test.cpp 2021-10-02 17:25:31 +03:00
Peter Dimov bb775c071a Update system_error::what to use error_code::what 2021-10-02 15:00:40 +03:00
Peter Dimov eefcc5dcf6 Add error_code::what 2021-10-02 14:41:27 +03:00
Peter Dimov 0ccf08509b Add a constructor taking ErrorCodeEnum and a source location 2021-10-01 23:04:04 +03:00
Peter Dimov aab58b0d5b Add std_interop_test10 2021-09-21 15:57:39 +03:00
Peter Dimov 5e0db22075 Include errc.hpp in system_error.hpp 2021-09-20 17:41:34 +03:00
Peter Dimov bf34091cfe Add error_code_test2 2021-09-19 15:41:20 +03:00
Peter Dimov 05581aba03 Add error_condition_test3 2021-09-19 15:26:19 +03:00
Peter Dimov fd852c675e Add <boost/system/result.hpp> 2021-09-16 18:47:05 +03:00
Peter Dimov a9b64a888a Add support for source_location to error_code 2021-09-15 07:03:18 +03:00
Peter Dimov a9da17f2e2 Add std_interop_test9 2021-06-15 01:59:51 +03:00
Peter Dimov d09c998eb2 Add std_interop_test8 2021-06-15 01:43:49 +03:00
Peter Dimov 2374e85dc7 Add std_interop_test7 2021-06-14 22:25:31 +03:00
Peter Dimov 67ae4d3c47 Disable std_interop_test5 on g++ 4.8 and 4.9, rather. 2021-06-14 19:04:15 +03:00
Peter Dimov 7657188802 Disable std_interop_test5 on g++ 4.7 and 4.8; these crash on Xenial, but the real g++ 4.8 on CentOS 7 and Trusty works 2021-06-14 18:07:06 +03:00
Peter Dimov c2d044f34e Add std_interop_test6 2021-06-14 04:09:24 +03:00
Peter Dimov 26d0d32c54 Add std_interop_test5 2021-06-14 03:53:55 +03:00
Peter Dimov 344eb1e1f8 Rework error_code for better std interop 2021-06-13 19:47:37 +03:00
Peter Dimov 20b8e90dff Add detail/snprintf.hpp 2021-06-13 18:58:50 +03:00
Peter Dimov 6586fcb01e Add errc_test3.cpp 2021-06-13 18:42:59 +03:00
Peter Dimov f6fb85d7d3 Revert "Update Travis to use undefined-sanitizer; disable failed_constexpr_test"
This reverts commit c069ae048f.
2021-06-13 04:59:49 +03:00
Peter Dimov 9cd9d8732f Revert "Update test/Jamfile"
This reverts commit 3d4c31c213.
2021-06-13 04:59:38 +03:00
Peter Dimov 3d4c31c213 Update test/Jamfile 2021-06-13 01:13:48 +03:00
Peter Dimov c069ae048f Update Travis to use undefined-sanitizer; disable failed_constexpr_test 2021-06-13 01:08:54 +03:00
Peter Dimov 8f32183b63 Mark platform-specific error headers as deprecated; split tests 2020-10-06 03:21:38 +03:00
Peter Dimov 7236be0c58 Add errc_test2 2020-08-28 02:00:20 +03:00
Peter Dimov 999cf08bf5 Add system_category_test3 2020-08-27 17:47:06 +03:00
Peter Dimov 96418c1531 Add generic_category_test3 2020-08-27 17:41:33 +03:00
Peter Dimov b7e3be2798 Add system_category.hpp 2020-08-27 17:22:24 +03:00
Peter Dimov e919caa2b4 Add generic_category.hpp 2020-08-27 16:35:32 +03:00
Peter Dimov ff18f28684 Move make_ functions for errc to errc.hpp 2020-08-27 16:15:10 +03:00
Peter Dimov 96321beb88 Add error_condition.hpp 2020-08-27 15:45:07 +03:00
Peter Dimov cc2b081a9e Add boost/system/error_category.hpp 2020-08-27 03:38:30 +03:00
Peter Dimov b6a447cdde Extract errc into its own header 2020-08-27 00:31:45 +03:00
Peter Dimov 83019b5822 Extract is_error_code_enum, is_error_condition_enum into their own headers 2020-08-26 22:46:27 +03:00
Peter Dimov 63ac7fb9bc Use <warnings>pedantic for warnings_test 2020-06-17 00:45:29 +03:00