Commit Graph

762 Commits

Author SHA1 Message Date
Peter Dimov
867f6d06d0 Add constexpr_test2.cpp 2022-08-21 19:13:12 +03:00
Peter Dimov
cc7c2f7ee4 Return v_.index() == 1 from has_error() to avoid -Wmaybe-uninitialized in error() boost-1.80.0 2022-08-02 22:44:34 +03:00
Peter Dimov
f2e1db8021 Constrain explicit value and error constructors to not accept zero arguments. Fixes #86. 2022-07-26 21:49:13 +03:00
Peter Dimov
ede243c42f Add (negative) tests for default constructability (refs #86) 2022-07-26 21:35:33 +03:00
Peter Dimov
1558aaa789 Update ci.yml 2022-07-26 20:41:24 +03:00
Peter Dimov
96b876d91a Add README.md boost-1.80.0.beta1 2022-06-19 02:19:58 +03:00
Peter Dimov
eb9ae4ac69 Update revision history 2022-06-19 01:30:17 +03:00
Peter Dimov
8fd487d496 Update documentation 2022-06-19 01:28:36 +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
a5ee3f291c Update ci.yml 2022-06-18 21:47:57 +03:00
Peter Dimov
4200b00973 Add converting constructor to result (refs #82) 2022-06-18 18:12:06 +03:00
Peter Dimov
533dfe1688 Update revision history 2022-05-05 21:17:09 +03:00
Peter Dimov
7dec756a6f Update documentation 2022-05-05 21:15:03 +03:00
Peter Dimov
648a35838b Remove unnecessary overloads 2022-05-05 05:12:08 +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
5debb8a041 Update revision history 2022-05-05 02:30:07 +03:00
Peter Dimov
a97e5a0546 Move BOOST_NOINLINE to operator std::error_category 2022-04-22 22:41:26 +03:00
Peter Dimov
dc17edfa07 Remove clang-win from appveyor.yml 2022-04-22 21:16:09 +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
9279001b8c Check BOOST_NO_CXX11_HDR_MUTEX when enabling <system_error> integration 2022-04-22 16:49:03 +03:00
Peter Dimov
616e652bd7 Suppress strict-aliasing warning for gcc 4.8 to 6 2022-04-21 21:06:14 +03:00
Peter Dimov
98439855bd Use static_cast instead of reinterpret_cast 2022-04-21 20:52:02 +03:00
Peter Dimov
986efb1420 Rework conversion to std::error_category to not allocate (closes #78) 2022-04-21 20:32:25 +03:00
Peter Dimov
28a13571b9 Restore the original system::error_code from std::error_code (refs #79) 2022-03-18 18:24:01 +02: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
0a9266ea7e Add a comment explaining the one-time allocation in error_category_impl.hpp. Fixes #78. 2022-03-18 08:11:16 +02:00
Peter Dimov
adb9fc54cb Remove msvc-14.1 from ci.yml 2022-03-18 07:51:38 +02:00
Peter Dimov
e197c5e803 Update documentation boost-1.79.0.beta1 boost-1.79.0 2022-02-18 19:43:08 +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
d930cea481 Update documentation 2022-02-14 02:05:44 +02:00
Peter Dimov
4f09f4adde Use throw_with_location in throw_exception_from_error 2022-02-13 22:50:20 +02:00
Peter Dimov
abd62362ef Update documentation 2022-02-09 20:52:23 +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
46a5ecd490 Do not include boost/system/result.hpp on GCC 4.7 2022-02-07 21:38:14 +02:00
Peter Dimov
79f4ef0416 Remove .drone.star 2022-02-07 21:34:11 +02:00
Peter Dimov
d0a8f7fbb7 Squash-merge feature/drone-jsonnet into develop 2022-02-07 21:33:48 +02:00
Peter Dimov
bc07ab1e25 Update .drone.star 2022-02-07 05:09:49 +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
928de55563 Update .drone.star 2022-02-07 03:47:42 +02:00
Peter Dimov
442138de0a Update .drone.star 2022-02-07 03:41:35 +02:00
Peter Dimov
de610efd53 Move conditions to detail/config.hpp 2022-02-07 03:16:23 +02:00
Peter Dimov
4b143cdacc Use BOOST_LIBSTDCXX_VERSION instead of BOOST_GCC; update syscat condition 2022-02-07 03:02:57 +02:00
Peter Dimov
a1cb578f52 Update .drone.star 2022-02-07 02:55:54 +02:00
Peter Dimov
96b5073b79 Update .drone.star 2022-02-07 02:03:13 +02:00
Peter Dimov
2bff5c7071 Update .drone.star 2022-02-07 01:27:59 +02:00
Peter Dimov
137128176d Update .drone.star 2022-02-07 01:14:28 +02:00