Commit Graph

97 Commits

Author SHA1 Message Date
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
Peter Dimov
e08e4253d0 Avoid allocation on interop for system/generic categories; fix DLL interoperability on msvc-14.x by poking into std::system_category::_Addr 2019-04-25 00:31:25 +03:00
Peter Dimov
907c867cd1 Rename test/std_ec_mismatch to std_single_instance; test also static and shared libraries 2019-04-24 21:15:39 +03:00
Peter Dimov
9f225112f1 Add std_ec_mismatch_test 2019-04-24 18:19:21 +03:00
Peter Dimov
0134441a6e Add warnings_test.cpp; disable -Wnon-virtual-dtor on g++ < 4.6 2019-03-04 19:23:32 +02:00
Peter Dimov
2d37749d00 Enable -Wnon-virtual-dtor in warnings_test 2019-03-04 15:40:03 +02:00
Peter Dimov
9753cf7668 Update test/Jamfile 2019-02-27 06:23:16 +02:00
Peter Dimov
f726c068c3 Add UTF-8 tests 2019-02-26 16:42:47 +02:00
Peter Dimov
342400c7ec Add a quick test with -Wall -Werror 2018-10-02 04:34:33 +03:00
Peter Dimov
f821d5e74a Add failed_constexpr_test.cpp 2018-09-22 21:06:31 +03:00