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

357 Commits

Author SHA1 Message Date
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
e67f200779 Merge branch 'feature/error_code' of https://github.com/zajo/leaf into develop 2019-01-29 13:51:44 -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
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
06a236f39c travis 2019-01-25 09:46:22 -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
b0a4ab8cc8 renamed hpp test 2019-01-24 00:15: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
01135e4e19 ditched failed<> 2019-01-23 23:27:35 -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
bf8a0d1ac5 ditched result_traits, added is_result_type 2019-01-23 12:29:24 -08:00
Emil Dotchevski
03a509ac0e fixed bugs reported by sorin 2019-01-23 12:05:35 -08:00
Emil Dotchevski
514b74f5c2 travis 2019-01-23 09:31:46 -08:00
Emil Dotchevski
10aab57af4 match_<> assert when used when no exception is available 2019-01-23 01:33:53 -08:00
Emil Dotchevski
d23df5c379 support in match<> for comparing error condition enums 2019-01-23 01:21:37 -08:00
Emil Dotchevski
b789da3960 deleted default ctor of error_id 2019-01-22 16:03:53 -08:00
Emil Dotchevski
71d5440879 class error renamed back to error_id 2019-01-22 15:16:21 -08:00
Emil Dotchevski
eb74563b9f try_ handling result<T> types correctly 2019-01-22 14:20:45 -08:00
Emil Dotchevski
f967ab6bbb fixed return type deduction bug in exception_to_result 2019-01-22 12:55:18 -08:00
Emil Dotchevski
7708a3d5e0 refactored error_id to error: std::error_code 2019-01-22 12:39:04 -08:00
Emil Dotchevski
6ec31acd52 semantic change in error_id op bool 2019-01-21 09:46:58 -08:00
Emil Dotchevski
e1d2a3f398 added leaf::failed test to handle_all_error_code_test 2019-01-20 19:49:20 -08:00
Emil Dotchevski
f0f8c9f523 travis 2019-01-20 19:44:00 -08:00
Emil Dotchevski
0c9081f6f3 failed<R> 2019-01-20 19:25:09 -08:00