Emil Dotchevski
56b247d71a
Significant refactoring:
...
- Support for error objects crossing DLL boundaries on Windows via BOOST_LEAF_CFG_WIN32=2.
- Internal TLS interface improvements, separating logical allocation from reading.
- Dynamic allocations (if enabled) for on_error objects now happens before stack unwinding begins.
- BOOST_LEAF_SYMBOL_VISIBLE declarations now separated in config/visibility.hpp.
2025-12-23 17:31:52 -05:00
Emil Dotchevski
0c7923933e
Improvements in single header distro. Build script tweaks.
2024-09-13 19:58:00 -07:00
Emil Dotchevski
d0047b721c
Updated copyright dates
2024-09-08 18:26:05 -07:00
Emil Dotchevski
351a563de0
Copyright message update
2023-09-15 11:11:13 -07:00
Emil Dotchevski
b2090ac95f
Fixed warnings
2022-09-06 14:49:00 -07:00
Emil Dotchevski
086786218a
Workaround for GCC 4.8 not handling C++11 ref qualifiers correctly; and BOOST_LEAF_CHECK using statement expressions under __GNUC__.
2022-01-30 15:29:40 -08:00
Emil Dotchevski
8d1285c2b5
Updated copyright note
2022-01-08 16:00:48 -08:00
Emil Dotchevski
f7392a7438
Renamed config macros, cleaned up config checks
2022-01-08 12:39:37 -08:00
Emil Dotchevski
394d6d7762
Support FreeRTOS ond for other TLS array APIs
2022-01-05 17:30:30 -08:00
Emil Dotchevski
996edca175
Support for BOOST_LEAF_EMBEDDED, removing all diagnostics support, std::string/std::stringstream
2022-01-03 12:00:56 -08:00
Emil Dotchevski
74b580b88d
Deindented top level namespaces and updated copyright messages
2021-01-26 22:46:15 -08:00
Emil Dotchevski
43582bb44c
Generagitng leaf.hpp on GitHub Actions
2020-12-19 23:43:34 -08:00
Emil Dotchevski
39d8617a77
handle_all_test accommodating older compilers
2020-12-09 11:02:09 -08:00
Emil Dotchevski
fdff6508ce
Duplicated unit tests: testing each with single header and with individual headers
2020-12-09 00:26:59 -08:00
Emil Dotchevski
b88ecf9040
Fixing Issue # 18
2020-12-08 18:28:00 -08:00
Emil Dotchevski
44eec77cf0
detab
2020-10-20 12:23:13 -07:00
Emil Dotchevski
c455cd9fbf
Deleted catch/nocatch context types
2020-07-08 18:42:11 -07:00
Emil Dotchevski
6ebf29a902
Even simpler predicate implementation
2020-07-03 13:49:31 -07:00
Emil Dotchevski
fd0041770a
match<>, match_value<>, match_member<>, catch_<>
2020-06-29 19:50:40 -07:00
Emil Dotchevski
0d608fd1fa
pred.hpp
2020-06-28 16:58:05 -07:00
Emil Dotchevski
dd00b99c45
Restoring BOOST_LEAF_AUTO, keeping BOOST_LEAF_VAR
2020-06-28 13:50:26 -07:00
Emil Dotchevski
775f957dea
BOOST_LEAF_AUTO -> BOOST_LEAF_VAR(auto
2020-06-24 11:45:42 -07:00
Emil Dotchevski
af22fb44dc
Working on match<std::error_code,...>
2020-06-22 23:07:43 -07:00
Emil Dotchevski
3a283d8d37
Support in match<> for std::error_code as the first argument, as well as .value function
2020-06-16 19:59:37 -07:00
Emil Dotchevski
9fde64be8a
Prefixed all macros with BOOST_
2020-06-14 18:10:22 -07:00
Emil Dotchevski
b45915bd3b
Updated copyright messages
2020-06-10 11:24:09 -07:00
Emil Dotchevski
30683e5444
Deleted is_e_type. Made improvements to leaf::exception.
2020-05-28 23:59:15 -07:00
Emil Dotchevski
ae23e14472
Fixes, and tests for -fno-exceptions -fno-rtti
2019-10-31 18:09:47 -07:00
Emil Dotchevski
0efc52e784
fixed bug in single header generation, changed copyright messages
2019-04-19 17:30:05 -07:00
Emil Dotchevski
c42bee4bfc
formatting changes, documentation update
2019-02-19 21:46:47 -08:00
Emil Dotchevski
96c3d0a8eb
temp commit
2019-02-08 23:05:36 -08:00
Emil Dotchevski
d13dc40a52
better capture_in_result/capture_in_exception interface
...
als is_error_type -> is_e_type.
2019-01-28 16:24:49 -08:00
Emil Dotchevski
c4b4d8bd15
separated handle.hpp into handle_all.hpp and handle_some.hpp
2019-01-26 17:48:59 -08:00
Emil Dotchevski
e45cb511c5
BOOST_TEST->BOOST_TEST_EQ
2019-01-25 10:13:23 -08:00
Emil Dotchevski
73aabdb466
removed api_error->cond_x
2019-01-25 09:56:04 -08:00
Emil Dotchevski
95a257cac1
added new_error overloads
2019-01-25 00:37:28 -08:00
Emil Dotchevski
929c0f9389
leaf::error_condition->leaf::condition
2019-01-24 23:14:13 -08:00
Emil Dotchevski
6cec426aec
error condition matching
2019-01-24 19:40:50 -08:00
Emil Dotchevski
e1a8db14b9
updated copyright message
2019-01-23 23:30:02 -08:00
Emil Dotchevski
0f9d649b83
match/catch_ refactored
2019-01-23 19:51:36 -08:00
Emil Dotchevski
01b2f066c1
custom error_condition needed to workaround gcc standard lib bugs
2019-01-23 15:31:29 -08:00
Emil Dotchevski
d23df5c379
support in match<> for comparing error condition enums
2019-01-23 01:21:37 -08:00
Emil Dotchevski
8a2b9caf6e
sending error_id through std::error_code
2019-01-20 02:44:47 -08:00
Emil Dotchevski
3f9d1821dd
renamed types and variable
2019-01-15 11:28:17 -08:00
Emil Dotchevski
fee3868261
documentation, cosmetic changes
2019-01-13 09:13:54 -08:00
Emil Dotchevski
a16600a989
error constructor -> new_error
2019-01-10 09:29:48 -08:00
Emil Dotchevski
a88d950045
Complete rewrite to try_, handle_some, handle_all
2019-01-09 17:30:31 -08:00