Commit Graph

  • 92c24da9a1 Document operator| Peter Dimov 2023-10-29 03:10:27 +02:00
  • dc73ca428b Add operator|( result, nullary-returning-result ) Peter Dimov 2023-10-29 03:20:08 +03:00
  • c1fa3619b6 Add operator|( result, nullary-returning-value ) Peter Dimov 2023-10-29 02:32:19 +03:00
  • 0cd351014b Remove C++14-ism Peter Dimov 2023-10-29 01:41:50 +03:00
  • d38e54d4c3 Add operator|( result, value ) Peter Dimov 2023-10-29 01:30:01 +03:00
  • fa3331412d Update ci.yml Peter Dimov 2023-10-28 20:53:44 +03:00
  • b899c49ae8 Update .drone.jsonnet Peter Dimov 2023-10-21 01:28:05 +03:00
  • 61a0e244da Add some more test cases exercising result initialization from {} Peter Dimov 2023-10-20 21:49:20 +03:00
  • eb788615de Update ci.yml Peter Dimov 2023-10-20 03:04:29 +03:00
  • 84fd43e14a Update C++03 deprecation message Peter Dimov 2023-10-19 18:15:05 +03:00
  • b0ef682e3d Update documentation Peter Dimov 2023-09-14 02:20:46 +03:00
  • c360ff1b1c Add a converting constructor to result<void> Peter Dimov 2023-09-12 04:48:45 +03:00
  • 951b3fe7b4 Add result<U&, E> specialization. Fixes #72. feature/result-ref Peter Dimov 2023-09-12 03:34:24 +03:00
  • a57c568324 Do not use <shared_mutex> when BOOST_USE_WINAPI_VERSION is 0x5xx (Windows XP). Fixes #113. feature/issue-113 Peter Dimov 2023-09-04 16:28:34 +03:00
  • 4843453528 Update ci.yml Peter Dimov 2023-09-04 13:04:34 +03:00
  • 2e7e46a802 Update C++03 deprecation message boost-1.83.0.beta1 boost-1.83.0 Peter Dimov 2023-06-03 02:31:27 +03:00
  • 32dbf1b992 Disable use of <shared_mutex> under the XP toolsets (v140_xp and v141_xp). Fixes #110. feature/issue-110 Peter Dimov 2023-04-30 18:44:56 +03:00
  • 707b24bfa1 Update reference feature/pr-109 Peter Dimov 2023-03-18 05:30:43 +02:00
  • bb1caae0d5 Update test/result_error_move.cpp Peter Dimov 2023-03-18 05:25:44 +02:00
  • c5c49894e6 Made result::error movable. Klemens 2023-03-08 08:07:38 +08:00
  • ee80491cab Add C++03 deprecation notice boost-1.82.0.beta1 boost-1.82.0 Peter Dimov 2023-03-06 07:49:33 +02:00
  • a83319fde1 Update ci.yml Peter Dimov 2023-03-06 06:22:31 +02:00
  • 4b90524729 Disable the constexpr constructors on GCC 4.7 feature/gcc5-constexpr-ctors Peter Dimov 2023-03-01 05:18:23 +02:00
  • 6ac5f23999 Make error_category constructors unconditionally constexpr Peter Dimov 2023-03-01 03:36:07 +02:00
  • f332a52597 Disable C4800 under msvc-14.0 feature/issue-104 Peter Dimov 2023-01-22 04:54:46 +02:00
  • c92d50abbd Do not consider types with explicit operator bool (such as result itself) constructible from bool for the purposes of result construction. Refs #104. Peter Dimov 2023-01-22 02:07:28 +02:00
  • 805b260a7a Add test/result_value_construct5.cpp. Refs #104. Peter Dimov 2023-01-22 01:58:29 +02:00
  • f32ffcba48 Update result_value_construct4.cpp Peter Dimov 2023-01-22 01:25:30 +02:00
  • 8ce2a9f835 Disable result converting constructor when T is convertible from the rhs result<T2, E2>. Refs #104. Peter Dimov 2023-01-22 01:22:02 +02:00
  • 6a58b03eab Add test/result_value_construct4.cpp. Refs #104. Peter Dimov 2023-01-22 01:15:08 +02:00
  • f0b27c5826 Enable implicit construction when the alternative is explicitly constructible from the argument. Fixes #103. feature/issue-103 Peter Dimov 2023-01-21 20:09:53 +02:00
  • 456b3c2dad Add test/result_error_construct4.cpp. Refs #103. Peter Dimov 2023-01-21 19:45:32 +02:00
  • eb3f3a8e41 Use boost::core::snprintf in std_interop_test16 as well feature/issue-102 Peter Dimov 2023-01-20 04:39:08 +02:00
  • e6986a51d5 Merge branch 'develop' into feature/issue-102 Peter Dimov 2023-01-20 04:38:15 +02:00
  • fb648760b5 Change uses of std::sprintf in tests to boost::core::snprintf, to avoid deprecation warnings feature/deprecated-sprintf Peter Dimov 2023-01-20 02:29:38 +02:00
  • 71ee26c188 Move the stdcat mutex into init_stdcat() as a local static to fix msvc-12.0 Peter Dimov 2023-01-20 01:22:42 +02:00
  • 8449c62162 Update detail/mutex.hpp to use std::shared_mutex under the MS STL Peter Dimov 2023-01-19 18:05:21 +02:00
  • 4bca94ffc4 Merge branch 'develop' into feature/issue-102 Peter Dimov 2023-01-19 16:35:05 +02:00
  • 3e6af15652 Add system/detail/mutex.hpp, use it in error_category_impl.hpp feature/detail-mutex Peter Dimov 2023-01-19 12:04:06 +02:00
  • 86ff47ff63 Update std_interop_test16.cpp to not use asio/error.hpp. Peter Dimov 2023-01-19 11:13:40 +02:00
  • 06ddfdb4a6 Add std_interop_test16.cpp. Refs #102. Peter Dimov 2023-01-19 05:46:11 +02:00
  • bb60a27b18 Update appveyor.yml feature/pr-90 Peter Dimov 2023-01-12 20:38:54 +02:00
  • e478ba1a2b Update appveyor.yml Peter Dimov 2023-01-12 15:18:11 +02:00
  • 50100b0e81 Update CMakeLists.txt Peter Dimov 2023-01-12 10:37:55 +02:00
  • bb502f5d67 Merge branch 'develop' into feature/pr-90 Peter Dimov 2023-01-12 10:36:56 +02:00
  • fa2349eee7 Add CMake tests to Appveyor Peter Dimov 2023-01-12 05:45:30 +02:00
  • 3d9acaf082 Update CMakeLists.txt Peter Dimov 2023-01-12 05:41:30 +02:00
  • c6795eb9d0 Merge branch 'natvis' of https://github.com/vinniefalco/boost-system into feature/pr-90 Peter Dimov 2023-01-12 05:39:37 +02:00
  • 57c295bbf7 Work around Clang 3.5 failures in result_value_access Peter Dimov 2023-01-10 05:46:57 +02:00
  • 36e3b2c6ae Work around Clang 3.5..3.8 failure in constexpr_test2 Peter Dimov 2023-01-10 05:14:36 +02:00
  • 583cd8dba2 Update .drone.jsonnet Peter Dimov 2023-01-10 04:36:37 +02:00
  • 0c2de4cb2a Update .drone.jsonnet Peter Dimov 2023-01-10 04:19:25 +02:00
  • 3d595a6e79 Update ci.yml Peter Dimov 2023-01-10 04:06:30 +02:00
  • b3faedfe3e Extend Clang 6 workaround to Clang 7 under Android. Fixes #100. feature/issue-100 Peter Dimov 2023-01-10 03:09:20 +02:00
  • 32bf67f748 error_code wrapping std::error_code should never compare equal to error_code not wrapping std (because of hash_value.) Fixes #101. feature/issue-101 Peter Dimov 2023-01-07 19:56:34 +02:00
  • 5d15aa1267 Add ec_hash_value_test Peter Dimov 2023-01-07 19:42:59 +02:00
  • 36e1236a0f Remove _Addr assignment from the constructor of std_category. Fixes #98. feature/issue-98 Peter Dimov 2022-12-10 22:17:51 +02:00
  • 2c20b6e7e5 Work around ERROR_INVALID_NAME failure on msvc-14.0, msvc-14.1 feature/win32-generic-test Peter Dimov 2022-12-10 19:45:14 +02:00
  • 103f3b4f00 Print original error code in win32_generic_test Peter Dimov 2022-12-10 18:47:54 +02:00
  • 14f779e234 Update Win32 translation table. Closes #97. Peter Dimov 2022-12-10 18:38:19 +02:00
  • bfccd4b4d9 Add win32_generic_test. Refs #97. Peter Dimov 2022-12-10 18:24:34 +02:00
  • 7ae6b317f3 Only disable C4351 on msvc-12.0 and earlier (refs #96) boost-1.81.0.beta1 boost-1.81.0 feature/warning-4351 Peter Dimov 2022-10-26 15:52:18 +03:00
  • 9a6d79b841 Update revision history Peter Dimov 2022-10-18 04:17:17 +03:00
  • ece71199a9 Document result<>::emplace Peter Dimov 2022-10-18 04:15:40 +03:00
  • 1e4c050d6c Add result<>::emplace (refs #85) Peter Dimov 2022-10-18 00:46:59 +03:00
  • 21115121bb Update ci.yml Peter Dimov 2022-10-14 19:23:09 +03:00
  • 956fa92a53 Update revision history Peter Dimov 2022-09-27 20:32:03 +03:00
  • ee318f937f Document result<>::value_type, error_type, in_place_value, in_place_error. Closes #93. Peter Dimov 2022-09-27 20:23:28 +03:00
  • 19f99264de Document BOOST_SYSTEM_DISABLE_THREADS Peter Dimov 2022-09-27 20:20:36 +03:00
  • 3261bae6de Update .drone.jsonnet Peter Dimov 2022-09-27 18:58:14 +03:00
  • 20ce51858b Add in_place_value, in_place_error to result<>. Refs #93. Peter Dimov 2022-09-27 18:18:16 +03:00
  • 52d7429473 Add value_type, error_type typedefs to result. Refs #93. Peter Dimov 2022-09-26 21:01:49 +03:00
  • 53c00841fc Add support for BOOST_SYSTEM_DISABLE_THREADS (refs #92) feature/disable-threads Peter Dimov 2022-09-08 18:32:26 +03:00
  • 19e27a73e9 Disable failing test for msvc-12.0 feature/issue-91 Peter Dimov 2022-08-25 17:38:59 +03:00
  • 19020ce925 Disable std_interop_test15 on g++ 4.8/4.9 Peter Dimov 2022-08-24 23:37:03 +03:00
  • 3faf415026 Resolve ambiguities when comparing error_condition with std enums (refs #91) Peter Dimov 2022-08-24 22:56:15 +03:00
  • a2df4d09da Update error_code_test3.cpp Peter Dimov 2022-08-24 21:41:38 +03:00
  • 455c6a6332 Add std_interop_test15.cpp Peter Dimov 2022-08-24 21:40:20 +03:00
  • efb7634666 Move code/condition comparisons back outside class error_code; fixes #91 Peter Dimov 2022-08-24 21:10:05 +03:00
  • 2bba3fd5e2 Add error_code_test3.cpp Peter Dimov 2022-08-24 20:54:20 +03:00
  • 8c740705e6 Add missing include feature/pr-89 Peter Dimov 2022-08-21 19:42:10 +03:00
  • 4708d95e80 Merge branch 'constexpr-default-ctor' of https://github.com/vinniefalco/boost-system into feature/pr-89 Peter Dimov 2022-08-21 19:13:48 +03:00
  • 867f6d06d0 Add constexpr_test2.cpp Peter Dimov 2022-08-21 19:13:12 +03:00
  • ac1ed1ecc1 error_code default ctor is constexpr in c++11 Vinnie Falco 2022-08-20 18:11:44 -07:00
  • fe48c3058d add boost_system.natvis and interface source files Vinnie Falco 2022-08-18 16:51:20 -07:00
  • cc7c2f7ee4 Return v_.index() == 1 from has_error() to avoid -Wmaybe-uninitialized in error() boost-1.80.0 Peter Dimov 2022-08-02 22:44:34 +03:00
  • f2e1db8021 Constrain explicit value and error constructors to not accept zero arguments. Fixes #86. Peter Dimov 2022-07-26 21:49:13 +03:00
  • ede243c42f Add (negative) tests for default constructability (refs #86) Peter Dimov 2022-07-26 21:35:33 +03:00
  • 1558aaa789 Update ci.yml Peter Dimov 2022-07-26 20:41:24 +03:00
  • 9e1ea0296e glob headers esp-idf-component 0xFEEDC0DE64 2022-07-05 10:48:40 +02:00
  • 96b876d91a Add README.md boost-1.80.0.beta1 master develop Peter Dimov 2022-06-19 02:19:58 +03:00
  • eb9ae4ac69 Update revision history Peter Dimov 2022-06-19 01:30:17 +03:00
  • 8fd487d496 Update documentation Peter Dimov 2022-06-19 01:28:36 +03:00
  • 5223c94aa9 Disable throws_assign_fail.cpp for GCC/release, because gcc-12 fails it at compile time feature/update-ci Peter Dimov 2022-06-18 23:07:41 +03:00
  • a5ee3f291c Update ci.yml Peter Dimov 2022-06-18 21:47:57 +03:00
  • 4200b00973 Add converting constructor to result (refs #82) feature/result-conversion Peter Dimov 2022-06-18 17:58:24 +03:00
  • 533dfe1688 Update revision history Peter Dimov 2022-05-05 21:17:09 +03:00
  • 7dec756a6f Update documentation Peter Dimov 2022-05-05 21:15:03 +03:00
  • 648a35838b Remove unnecessary overloads feature/source-location Peter Dimov 2022-05-05 05:12:08 +03:00
  • 256fe92dbb Add error_code(error_code const& ec, source_location const* loc) and a corresponding assign Peter Dimov 2022-05-05 05:02:37 +03:00