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
a4207bb678
Missing includes
2024-09-03 11:48:04 -07:00
Emil Dotchevski
351a563de0
Copyright message update
2023-09-15 11:11:13 -07:00
Emil Dotchevski
7ea5958ede
Removed BOOST_LEAF_NORETURN for [[noreturn]]
2022-06-26 13:49:33 -07:00
Emil Dotchevski
8d1285c2b5
Updated copyright note
2022-01-08 16:00:48 -08:00
Emil Dotchevski
365bbb07b7
Whitespace edits in examples
2021-12-01 10:24:18 -08:00
Emil Dotchevski
734bd8dda5
Renamed examples -> example
2021-08-28 16:19:40 -07:00
Emil Dotchevski
2e1391195b
Documentation, some renamings
2019-02-11 22:10:04 -08:00
Emil Dotchevski
adc5384589
rewrite complete, all tests working
2019-02-09 18:53:30 -08:00
Emil Dotchevski
96c3d0a8eb
temp commit
2019-02-08 23:05:36 -08:00
Emil Dotchevski
ba22d5fb10
1. Renamed propagate to load throughout LEAF.
...
2. Changed result::error to not load, simply returns the error.
3. Added result::load, which loads then returns *this.
4. Added result::accumulate.
2019-02-04 11:43:22 -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
1b74d04b34
optimizations
2019-01-24 00:13:20 -08:00
Emil Dotchevski
e1a8db14b9
updated copyright message
2019-01-23 23:30:02 -08:00
Emil Dotchevski
71d5440879
class error renamed back to error_id
2019-01-22 15:16:21 -08:00
Emil Dotchevski
7708a3d5e0
refactored error_id to error: std::error_code
2019-01-22 12:39:04 -08:00
Emil Dotchevski
dcb578761a
added move assignment to result<T>
2019-01-15 18:10:04 -08:00
Emil Dotchevski
3f9d1821dd
renamed types and variable
2019-01-15 11:28:17 -08:00
Emil Dotchevski
ff6f7716cd
error -> error_id
2019-01-15 00:36:44 -08:00
Emil Dotchevski
0f4dc4f637
cosmetic changes
2019-01-14 17:24:52 -08:00
Emil Dotchevski
e7d212c8e9
tweaked the behavior of handle_all
2019-01-13 23:38:46 -08:00
Emil Dotchevski
bb9ba95e17
travis
2019-01-13 16:34:40 -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
Emil Dotchevski
e032a0b4f7
member handle_error
2019-01-03 17:25:09 -08:00
Emil Dotchevski
1bac1e1d1a
is_error_type, renamed peek_next_error to next_error_value
2018-11-25 12:37:27 -08:00
Emil Dotchevski
126f303908
documentation update
2018-11-25 09:07:33 -08:00
Emil Dotchevski
ca0173fb24
deleted .value, match<>
2018-11-25 03:17:49 -08:00
Emil Dotchevski
f6f97af693
moved peek_next_error to namespace leaf
2018-11-01 16:01:41 -07:00
Emil Dotchevski
ca6f67f5ee
fixed bug in lua_callback_result.cpp, updated documentation
2018-10-31 23:59:07 -07:00
Emil Dotchevski
639004a8c6
new preload/defer
2018-10-30 15:32:19 -07:00
Emil Dotchevski
c0da765966
cosmetics
2018-10-28 10:02:03 -07:00
Emil Dotchevski
28961367a3
tweaks, pretty much complete documentation
2018-10-27 17:38:33 -07:00