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

162 Commits

Author SHA1 Message Date
Emil Dotchevski
6aa689d03e Added option to select native Boost MP11 2019-04-26 18:58:11 -07:00
Emil Dotchevski
0efc52e784 fixed bug in single header generation, changed copyright messages 2019-04-19 17:30:05 -07:00
Emil Dotchevski
0e65c833fd added result<T>::operator-> and tests 2019-04-06 22:41:34 -07:00
Emil Dotchevski
9b1ad59220 allowing context_activator to be used on active context 2019-03-25 15:21:28 -07:00
Emil Dotchevski
ce6460e1e5 Allowing queries for zero error_id (changing a few asserts) 2019-03-19 14:22:19 -07:00
Emil Dotchevski
a25cc2b156 Removed asserts to allow zero std::error_code support 2019-03-18 17:58:32 -07:00
Emil Dotchevski
cdfbde377f Allowing .error() on a non-error result object 2019-03-16 13:04:40 -07:00
Emil Dotchevski
86b95781c0 fixed exception propagation bug in:
try_handle_all
try_handle_some
remote_try_handle_all
remote_try_handle_some
2019-03-05 17:29:52 -08:00
Emil Dotchevski
767b599903 Propagation of leaf errors by leaf::bad_result 2019-02-28 18:42:49 -08:00
Emil Dotchevski
7cca2bab19 added to exception_test.cpp 2019-02-27 18:39:37 -08:00
Emil Dotchevski
9903a987fd added exception test 2019-02-27 14:25:20 -08:00
Emil Dotchevski
05b749624c minor changes 2019-02-25 22:28:53 -08:00
Emil Dotchevski
b8ca0aafc4 restoring better result move. 2019-02-24 15:27:26 -08:00
Emil Dotchevski
51c68b90fc simpler result::move_from 2019-02-24 15:15:00 -08:00
Emil Dotchevski
3d67d741e1 added result_fail_test.cpp 2019-02-23 21:41:48 -08:00
Emil Dotchevski
c42bee4bfc formatting changes, documentation update 2019-02-19 21:46:47 -08:00
Emil Dotchevski
61af47280f Minor rename, documentation update 2019-02-18 20:33:30 -08:00
Emil Dotchevski
612acdd576 Moved catch_ from detail/handle.hpp to handle_exception.hpp 2019-02-18 13:29:52 -08:00
Emil Dotchevski
161b9ea1f9 fixing bug in remote_try_handle_some 2019-02-17 14:14:07 -08:00
Emil Dotchevski
1df5f97cc6 minor change in make_continuation_result 2019-02-16 15:55:23 -08:00
Emil Dotchevski
81e816cfdc posting continuation errors in test 2019-02-16 15:25:06 -08:00
Emil Dotchevski
65f40ec96a better continuation_test 2019-02-16 15:01:31 -08:00
Emil Dotchevski
22a2b9391a context_ptr 2019-02-16 14:21:03 -08:00
Emil Dotchevski
746c3bad28 updated continuation_test 2019-02-16 14:04:51 -08:00
Emil Dotchevski
0df196f738 catch_nocatch 2019-02-15 20:22:59 -08:00
Emil Dotchevski
df92aafc97 rolling back "fix" for result<T>::load/accumulate 2019-02-14 18:26:11 -08:00
Emil Dotchevski
201f84bc7b load/accumulate in captured result works with captured context 2019-02-14 15:19:37 -08:00
Emil Dotchevski
933d9f893d permitting void return in remote handler handlers 2019-02-14 13:17:59 -08:00
Emil Dotchevski
23743000f1 ctx_remote_handle_xxxx tests 2019-02-13 23:54:15 -08:00
Emil Dotchevski
70acb62f45 made error handling functions members of context<> 2019-02-13 22:32:04 -08:00
Emil Dotchevski
23b5f2931a added test for catch_<error_id> 2019-02-13 11:37:55 -08:00
Emil Dotchevski
31bea1e42f added tests, fixed minor bugs 2019-02-13 09:47:31 -08:00
Emil Dotchevski
baa9fd40ae fixed bug in handling third-party exceptions 2019-02-12 10:30:27 -08:00
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
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
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
6507f28c6a travis 2019-02-02 12:18:06 -08:00
Emil Dotchevski
b3bb71ed04 missing include 2019-02-02 12:16:53 -08:00
Emil Dotchevski
02e289f9e5 updated examples and added continuation_test.cpp 2019-02-02 12:02:29 -08:00
Emil Dotchevski
7e1c19ac13 more complete preload/defer testing 2019-02-01 09:53:52 -08:00
Emil Dotchevski
2d66e98147 error_trace example 2019-01-31 00:39:39 -08:00
Emil Dotchevski
84df857c10 more "using", renamed capture_ to remote_ 2019-01-30 22:52:20 -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