Peter Dimov
|
9fdfa6c645
|
Move code == condition comparisons into error_code, unwrap std::error_code when needed
|
2021-06-14 04:06:24 +03:00 |
|
Peter Dimov
|
b7e3be2798
|
Add system_category.hpp
|
2020-08-27 17:22:24 +03:00 |
|
Peter Dimov
|
b951517625
|
Move system_category implementation to system_category_impl.hpp
|
2020-08-27 16:25:34 +03:00 |
|
Peter Dimov
|
ff18f28684
|
Move make_ functions for errc to errc.hpp
|
2020-08-27 16:15:10 +03:00 |
|
Peter Dimov
|
313982fa52
|
Move interoperability support to error_category_impl.hpp
|
2020-08-27 15:14:17 +03:00 |
|
Peter Dimov
|
a93572ab16
|
Extract error_category implementation into its own header
|
2020-08-27 03:23:00 +03:00 |
|
Peter Dimov
|
cc49bc4457
|
Extract throws into its own header
|
2020-08-27 03:06:14 +03:00 |
|
Peter Dimov
|
13bac420ab
|
Move op!= for error_condition
|
2020-08-27 02:26:32 +03:00 |
|
Peter Dimov
|
abc94afdb2
|
Extract error_code into its own header
|
2020-08-27 02:23:50 +03:00 |
|
Peter Dimov
|
867ac5b446
|
Move generic_category(), system_category() to their respective headers; extract error_condition into its own header
|
2020-08-27 02:07:22 +03:00 |
|
Peter Dimov
|
d50db54c44
|
Move failed_impl into error_category.hpp
|
2020-08-27 01:36:44 +03:00 |
|
Peter Dimov
|
72ea1ef846
|
Extract enable_if into its own header
|
2020-08-27 01:21:56 +03:00 |
|
Peter Dimov
|
d581eb203e
|
Extract system_error_category into its own header
|
2020-08-27 01:15:28 +03:00 |
|
Peter Dimov
|
ddd679e6d7
|
Extract generic_error_category into its own header
|
2020-08-27 01:06:07 +03:00 |
|
Peter Dimov
|
4ec6c99148
|
Rename detail/generic_category.hpp
|
2020-08-27 00:51:03 +03:00 |
|
Peter Dimov
|
7b56fd9acf
|
Extract error_category into its own header
|
2020-08-27 00:47:48 +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
|
73bf30ae04
|
Enable -Wsuggest-override in warnings_test; add BOOST_OVERRIDE appropriately
|
2020-06-17 01:06:40 +03:00 |
|
Peter Dimov
|
5d3365717e
|
Revert "Revert operator bool() to its pre-failed value() != 0 meaning"
This reverts commit 3164b387a5.
|
2020-06-16 20:24:23 +03:00 |
|
Peter Dimov
|
6942dc454b
|
Fix unsupported use of BOOST_SYMBOL_VISIBLE on Sun C++
|
2020-01-24 20:59:12 +02:00 |
|
Peter Dimov
|
7ba160e443
|
Rename id to id_ to avoid ObjC++ parsing issues. Fixes #52.
|
2020-01-18 22:15:44 +02:00 |
|
Thomas Barbier
|
08370c9158
|
Fix c++17 warning redundant redeclaration of 'constexpr' static data
member [-Werror=deprecated]
|
2019-10-01 18:49:31 +02:00 |
|
Peter Dimov
|
c08b8a94ea
|
Fix sign extension (warning 4826.) Closes #48.
|
2019-05-24 18:55:27 +03:00 |
|
Peter Dimov
|
bfbc5ec42f
|
Remove BOOST_SYSTEM_REQUIRE_CONST_INIT; variables are constexpr, so no longer needed. Closes #45.
|
2019-05-12 04:15:35 +03:00 |
|
Peter Dimov
|
3b6315e4a1
|
Add BOOST_SYMBOL_VISIBLE to system_category(), generic_category()
|
2019-04-25 16:55:13 +03:00 |
|
Peter Dimov
|
c705bab504
|
#pragma GCC diagnostic push/pop requires gcc 4.6
|
2019-03-04 17:38:52 +02:00 |
|
Peter Dimov
|
af1dc84160
|
Disable -Wnon-virtual-dtor
|
2019-03-04 16:35:35 +02:00 |
|
Peter Dimov
|
3164b387a5
|
Revert operator bool() to its pre-failed value() != 0 meaning
|
2019-02-27 21:10:57 +02:00 |
|
Peter Dimov
|
3a4fff686e
|
Fix warnings on clang-win
|
2018-10-27 05:30:27 +03:00 |
|
Peter Dimov
|
fb44b43f0a
|
Merge branch 'develop' into feature/asciidoc
|
2018-10-02 23:02:24 +03:00 |
|
Peter Dimov
|
3d01409fe6
|
Avoid long long warnings
|
2018-10-02 17:51:09 +03:00 |
|
Peter Dimov
|
1e6dc86a68
|
Change code to match documentation
|
2018-10-02 02:59:03 +03:00 |
|
Peter Dimov
|
91aeb86f57
|
Disable constexpr on g++ 5
|
2018-09-22 21:00:06 +03:00 |
|
Peter Dimov
|
e7c1079c4f
|
Try to work around g++-5 constexpr issue in failed_impl
|
2018-09-22 20:05:31 +03:00 |
|
Peter Dimov
|
f48cc5aec6
|
Add failed()
|
2018-09-22 17:34:40 +03:00 |
|
Peter Dimov
|
349fb30e8e
|
Remove the user-provided ~error_category in C++03 mode, to fix use after main
|
2018-09-22 16:15:49 +03:00 |
|
Peter Dimov
|
24179e73c9
|
Move message() at its standard place, next to its other overload
|
2018-09-21 17:19:50 +03:00 |
|
Peter Dimov
|
c182707dfe
|
Merge branch 'develop' into feature/message_r
|
2018-09-21 17:08:31 +03:00 |
|
Peter Dimov
|
d79e38e5d5
|
Remove noexcept from conversions to std::error_code/condition; they allocate and can throw
|
2018-09-21 17:07:51 +03:00 |
|
Peter Dimov
|
ec93d058fe
|
Add a noexcept overload of message() taking a buffer
|
2018-09-21 03:16:55 +03:00 |
|
Peter Dimov
|
515fbb21b4
|
Use strerror_r on glibc
|
2018-09-18 22:21:13 +03:00 |
|
Peter Dimov
|
465e9e019e
|
Remove noexcept from operator std::error_category const& (allocates and can throw)
|
2018-09-17 20:12:10 +03:00 |
|
Peter Dimov
|
11a908a3fe
|
Fix hash_value
|
2018-09-17 18:18:37 +03:00 |
|
Peter Dimov
|
a9e56e1a6a
|
Remove dependency on type_traits
|
2018-09-17 03:21:42 +03:00 |
|
Peter Dimov
|
041678752b
|
Revert deletion of BOOST_*_API check
|
2018-09-17 02:55:40 +03:00 |
|
Peter Dimov
|
6bd05dc92d
|
Add BOOST_SYMBOL_VISIBLE to category classes to placate UBSan
|
2018-09-16 19:32:38 +03:00 |
|
Peter Dimov
|
731df11ffd
|
Add system_category_posix.hpp; remove BOOST_SYSTEM_WIN32
|
2018-09-16 05:44:58 +03:00 |
|
Peter Dimov
|
2fa0a00583
|
Make Boost.System header-only
|
2018-09-16 03:04:19 +03:00 |
|
Peter Dimov
|
053972643d
|
Replace BOOST_SYSTEM_NOEXCEPT with BOOST_NOEXCEPT
|
2018-09-15 20:06:14 +03:00 |
|