Peter Dimov
|
6a58b03eab
|
Add test/result_value_construct4.cpp. Refs #104.
|
2023-01-22 01:15:08 +02:00 |
|
Peter Dimov
|
f0b27c5826
|
Enable implicit construction when the alternative is explicitly constructible from the argument. Fixes #103.
|
2023-01-21 20:09:53 +02:00 |
|
Peter Dimov
|
456b3c2dad
|
Add test/result_error_construct4.cpp. Refs #103.
|
2023-01-21 19:45:32 +02:00 |
|
Peter Dimov
|
eb3f3a8e41
|
Use boost::core::snprintf in std_interop_test16 as well
|
2023-01-20 04:39:08 +02:00 |
|
Peter Dimov
|
e6986a51d5
|
Merge branch 'develop' into feature/issue-102
|
2023-01-20 04:38:15 +02:00 |
|
Peter Dimov
|
fb648760b5
|
Change uses of std::sprintf in tests to boost::core::snprintf, to avoid deprecation warnings
|
2023-01-20 02:29:38 +02:00 |
|
Peter Dimov
|
86ff47ff63
|
Update std_interop_test16.cpp to not use asio/error.hpp.
|
2023-01-19 11:13:40 +02:00 |
|
Peter Dimov
|
06ddfdb4a6
|
Add std_interop_test16.cpp. Refs #102.
|
2023-01-19 05:46:11 +02:00 |
|
Peter Dimov
|
57c295bbf7
|
Work around Clang 3.5 failures in result_value_access
|
2023-01-10 05:46:57 +02:00 |
|
Peter Dimov
|
36e3b2c6ae
|
Work around Clang 3.5..3.8 failure in constexpr_test2
|
2023-01-10 05:14:36 +02:00 |
|
Peter Dimov
|
5d15aa1267
|
Add ec_hash_value_test
|
2023-01-07 19:42:59 +02:00 |
|
Peter Dimov
|
2c20b6e7e5
|
Work around ERROR_INVALID_NAME failure on msvc-14.0, msvc-14.1
|
2022-12-10 19:45:14 +02:00 |
|
Peter Dimov
|
103f3b4f00
|
Print original error code in win32_generic_test
|
2022-12-10 18:47:54 +02:00 |
|
Peter Dimov
|
bfccd4b4d9
|
Add win32_generic_test. Refs #97.
|
2022-12-10 18:24:34 +02:00 |
|
Peter Dimov
|
1e4c050d6c
|
Add result<>::emplace (refs #85)
|
2022-10-18 00:46:59 +03:00 |
|
Peter Dimov
|
20ce51858b
|
Add in_place_value, in_place_error to result<>. Refs #93.
|
2022-09-27 18:18:16 +03:00 |
|
Peter Dimov
|
52d7429473
|
Add value_type, error_type typedefs to result. Refs #93.
|
2022-09-26 21:20:40 +03:00 |
|
Peter Dimov
|
53c00841fc
|
Add support for BOOST_SYSTEM_DISABLE_THREADS (refs #92)
|
2022-09-08 18:32:26 +03:00 |
|
Peter Dimov
|
19e27a73e9
|
Disable failing test for msvc-12.0
|
2022-08-25 17:38:59 +03:00 |
|
Peter Dimov
|
19020ce925
|
Disable std_interop_test15 on g++ 4.8/4.9
|
2022-08-24 23:37:03 +03:00 |
|
Peter Dimov
|
3faf415026
|
Resolve ambiguities when comparing error_condition with std enums (refs #91)
|
2022-08-24 22:56:15 +03:00 |
|
Peter Dimov
|
a2df4d09da
|
Update error_code_test3.cpp
|
2022-08-24 21:41:38 +03:00 |
|
Peter Dimov
|
455c6a6332
|
Add std_interop_test15.cpp
|
2022-08-24 21:40:20 +03:00 |
|
Peter Dimov
|
efb7634666
|
Move code/condition comparisons back outside class error_code; fixes #91
|
2022-08-24 21:10:05 +03:00 |
|
Peter Dimov
|
2bba3fd5e2
|
Add error_code_test3.cpp
|
2022-08-24 20:54:20 +03:00 |
|
Peter Dimov
|
867f6d06d0
|
Add constexpr_test2.cpp
|
2022-08-21 19:13:12 +03:00 |
|
Peter Dimov
|
ede243c42f
|
Add (negative) tests for default constructability (refs #86)
|
2022-07-26 21:35:33 +03:00 |
|
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
|
65da7dfd56
|
Update result_error_construct tests to use sys::error_code instead of (erroneously) std::error_code
|
2022-04-22 19:52:19 +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
|
6d7a57a970
|
Add throw_exception_from_error overload for std::exception_ptr
|
2022-02-18 02:55:34 +02:00 |
|
Peter Dimov
|
00c71cf388
|
Add throw_exception_from_error overloads for boost::system::errc, std::errc
|
2022-02-17 21:55:47 +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
|
c6bff94709
|
Update std_interop_test12.cpp
|
2022-02-07 04:35:44 +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
|
b92be6417a
|
Add a source_location parameter to throw_exception_from_error
|
2022-02-05 05:24:29 +02:00 |
|
Peter Dimov
|
50cad72fac
|
Update system_error_test3.cpp
|
2022-02-04 21:22:35 +02:00 |
|
Peter Dimov
|
a5d68e52e6
|
Add throw_exception_from_error overload for std::error_code
|
2022-02-03 18:35:42 +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
|
bfebaf53d7
|
Add static_assert to cmake_subdir_test
|
2021-10-28 23:48:03 +03:00 |
|
Peter Dimov
|
7933300b6f
|
Disable test on g++ 4.x because no std::io_errc
|
2021-10-11 03:30:50 +03: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 |
|