2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-02-02 21:02:18 +00:00
Commit Graph

217 Commits

Author SHA1 Message Date
Emil Dotchevski
350fa138fc renaming error_info::error_id to error. 2019-02-11 22:21:21 -08:00
Emil Dotchevski
2e1391195b Documentation, some renamings 2019-02-11 22:10:04 -08:00
Emil Dotchevski
0c9f7fc1d7 documentation unfinished, some things renamed 2019-02-11 12:04:41 -08:00
Emil Dotchevski
9b5026c6bf compile error 2019-02-09 23:39:30 -08:00
Emil Dotchevski
480602a9ef fixed exception capture bug 2019-02-09 23:36:55 -08:00
Emil Dotchevski
9b42608c41 deactivate_behavior -> on_deactivaton 2019-02-09 21:27:13 -08:00
Emil Dotchevski
0e5f26466c propagation_behavior 2019-02-09 21:00:49 -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
c8ce2060e9 accumulate/load can be called on good result 2019-02-04 12:23:40 -08:00
Emil Dotchevski
60d1f08ef4 added error_id::accumulate, cleaned up includes 2019-02-04 11:54:51 -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
ec11f6d6a5 continuation_result -> make_continuation_result 2019-02-02 12:51:07 -08:00
Emil Dotchevski
02e289f9e5 updated examples and added continuation_test.cpp 2019-02-02 12:02:29 -08:00
Emil Dotchevski
48a8ae792e got rid of id_e_pair 2019-02-02 00:38:52 -08:00
Emil Dotchevski
883602ce2c LEAF_NEW_ERROR 2019-02-01 22:59:42 -08:00
Emil Dotchevski
10ba677afc different unexpected enbler 2019-01-31 23:12:25 -08:00
Emil Dotchevski
df3edbaa0d all slot<> members inline in its def 2019-01-31 15:28:16 -08:00
Emil Dotchevski
59ece44632 caching tl_slot_ptr ref in slot<> 2019-01-31 15:26:25 -08:00
Emil Dotchevski
4dec598162 noexcept 2019-01-30 23:21:55 -08:00
Emil Dotchevski
84df857c10 more "using", renamed capture_ to remote_ 2019-01-30 22:52:20 -08:00
Emil Dotchevski
5bebf879c0 exception_info->exception_info_ (MSVC has a MACRO called exception_info?) 2019-01-30 22:22:56 -08:00
Emil Dotchevski
c99acdc3a7 using 2019-01-30 22:15:09 -08:00
Emil Dotchevski
9dc430180b added different error_ types, converted capture_in_result/capture_in_exception to call the passed function, rather than return a function that calls it 2019-01-30 17:11:53 -08:00
Emil Dotchevski
e4a54437b0 bound_handle_all, bound_handle_some, bound_try_ 2019-01-29 13:34:13 -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
fcebc649c5 function_traits::arity=-1 for non-functions 2019-01-27 21:58:57 -08:00
Emil Dotchevski
1a3c30cfd9 fixed bug in error objects capture, thanks sorin 2019-01-27 15:08:31 -08:00
Emil Dotchevski
c631b08fc3 travis 2019-01-27 12:39:11 -08:00
Emil Dotchevski
90316c343b stole index_sequence from mp11 to remove dependency on std::index_sequence 2019-01-27 12:16:39 -08:00
Emil Dotchevski
b8577e9c8f allocator support in capture_in_result and capture_in_exception 2019-01-27 12:16:13 -08:00
Emil Dotchevski
c2f33c7611 Merge branch 'feature/polymorphic_handler' into feature/error_code 2019-01-26 23:37:23 -08:00
Emil Dotchevski
a9302bb23c handlers in tuple 2019-01-26 23:35:51 -08:00
Emil Dotchevski
43e6fdb0e8 nicer names in handler_wrapper 2019-01-26 18:19:35 -08:00
Emil Dotchevski
bead3f29da simplified static_store::handle_error 2019-01-26 17:56:57 -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
ca51f65468 appveyor 2019-01-26 17:37:29 -08:00
Emil Dotchevski
76bdafe70a simpler leaf::condition definition 2019-01-26 11:11:19 -08:00
Emil Dotchevski
ba4cfc615e travis 2019-01-26 00:33:39 -08:00
Emil Dotchevski
4e8eb79cc7 accumulate 2019-01-26 00:15:33 -08:00
Emil Dotchevski
b38309dad3 error_code capture_in_result bug fixed 2019-01-25 22:51:14 -08:00
Emil Dotchevski
8c5983674f exception_to_result transporting std::exception_ptr as well 2019-01-25 14:28:30 -08:00
Emil Dotchevski
4e45151020 capture_result->capture_in_result, capture_exception->capture_in_exception 2019-01-25 14:13:59 -08:00
Emil Dotchevski
886248a4ef capture_exception can capture result too 2019-01-25 13:29:47 -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
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
01135e4e19 ditched failed<> 2019-01-23 23:27:35 -08:00