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

354 Commits

Author SHA1 Message Date
Emil Dotchevski
9fb4e7ce59 Fixing subtle bug in propagation of error objects. 2019-12-30 20:22:35 -08:00
Emil Dotchevski
30cfe9fce1 Context activation/deactivation/propagation refactored. 2019-12-29 18:13:10 -08:00
Emil Dotchevski
96477366c3 last_error() -> current_error() 2019-12-10 00:10:14 -08:00
Emil Dotchevski
8b6c938233 Merge branch 'develop' of https://github.com/zajo/leaf into develop 2019-12-08 22:20:21 -08:00
Emil Dotchevski
0b1d09715e LEAF_EXCEPTION optionally supporting custom error_id 2019-12-08 22:08:42 -08:00
Emil Dotchevski
74c609c9da make_exception<>, LEAF_MAKE_EXCEPTION 2019-12-08 19:24:15 -08:00
Emil Dotchevski
ca0a41ace0 Minor bug in error_id::value() 2019-12-08 16:14:28 -08:00
Emil Dotchevski
d60b4d19e3 Updated all.hpp 2019-12-08 16:04:06 -08:00
Emil Dotchevski
0ae00ab180 Major refactor to delete next_error(). Improved async support. 2019-12-08 15:38:16 -08:00
Emil Dotchevski
e26bddcb2f Deleting accidentally committed file. 2019-12-05 20:32:24 -08:00
Emil Dotchevski
288538a3a2 Fixing a bug in leaf::type() due to constexpr changing its signature 2019-12-05 19:15:02 -08:00
Emil Dotchevski
fca6cc6462 Better result<void> 2019-12-05 19:02:35 -08:00
Emil Dotchevski
de31813a4c constexpr fixes 2019-12-01 22:16:08 -08:00
Emil Dotchevski
905fe93b24 constexpr 2019-12-01 21:49:26 -08:00
Emil Dotchevski
0dccda8c1f deleted unused optional::emplace 2019-11-30 22:25:16 -08:00
Emil Dotchevski
be721add94 Marked several functions 'always inline' 2019-11-30 22:24:53 -08:00
Emil Dotchevski
2fe5d3abf4 Fixing compile error for gcc-trunk 2019-11-27 21:54:37 -08:00
Emil Dotchevski
fc70213e8e Optimization 2019-11-27 20:52:25 -08:00
Emil Dotchevski
c1a0a66b4c Fixing MSVC incompatibility issue. 2019-11-26 14:35:45 -08:00
Emil Dotchevski
b8d917d44e all.hpp 2019-11-26 10:40:07 -08:00
Emil Dotchevski
e869edb5c2 Updated documentation, streamlined LEAF_DIAGNOSTICS support 2019-11-26 00:28:30 -08:00
Emil Dotchevski
f9309f0ce6 all.hpp 2019-11-24 18:42:46 -08:00
Emil Dotchevski
960ce1c8f1 Better handling of calling .error() on a non-error result. 2019-11-24 18:42:35 -08:00
Emil Dotchevski
53994cc58a Removed implicit conversion error_id -> std::error_code 2019-11-24 14:22:31 -08:00
Emil Dotchevski
34b9292270 Automatic LEAF_NO_EXCEPTIONS 2019-11-23 16:45:16 -08:00
Emil Dotchevski
ff670ddcf7 Benchmarks converted to teady_clock 2019-11-19 22:24:33 -08:00
Emil Dotchevski
4d0f2a78a2 is_result_type<R const> specialization 2019-11-19 14:30:04 -08:00
Emil Dotchevski
b6e8ab5663 Workaround for C++11/C++14 bogus memset 2019-11-17 13:52:24 -08:00
Emil Dotchevski
a7f3d56deb Removing unnecessary declarations 2019-11-15 23:06:55 -08:00
Emil Dotchevski
84257de1ba Fixing compile errors 2019-11-15 15:14:16 -08:00
Emil Dotchevski
871e1531d6 Removed slot linked list if diagnostic info is disabled. 2019-11-15 15:07:17 -08:00
Emil Dotchevski
5705688e7d removed bool flag from optional, got rid of continuation rebinding 2019-11-15 14:54:47 -08:00
Emil Dotchevski
2ed030dfbe Removed result_discriminant bitfield 2019-11-15 10:03:00 -08:00
Emil Dotchevski
99b7adf759 Much better codegen from result<T> 2019-11-14 23:32:25 -08:00
Emil Dotchevski
213793eac6 More optimal error_id generation, better handling of constness in result<T>, better tests for third-party result types support 2019-11-13 17:40:09 -08:00
Emil Dotchevski
f83c28e6ae move-only result<T> 2019-11-12 21:05:40 -08:00
Emil Dotchevski
c57a7300cb activate_context function template 2019-11-11 17:21:37 -08:00
Emil Dotchevski
b099c6f967 Removed context::thread_id 2019-11-11 14:55:56 -08:00
Emil Dotchevski
302c2b3ded LEAF_NO_DIAGNOSTIC_INFO 2019-11-11 14:51:09 -08:00
Emil Dotchevski
ed91071382 Refactored context to not have any virtual functions 2019-11-11 14:02:41 -08:00
Emil Dotchevski
d8895e48c1 Added static_assert to remote context deduction logic in handle_some error handling code. 2019-11-10 12:44:29 -08:00
Emil Dotchevski
7977d810af error_result working 2019-11-09 12:36:56 -08:00
Emil Dotchevski
f0f8eca951 error_result not a base type 2019-11-09 09:51:44 -08:00
Emil Dotchevski
418a7611ca error_id no longe derives from std::error_code 2019-11-08 21:28:00 -08:00
Emil Dotchevski
db8cb38287 AppVeyor 2019-11-06 11:10:42 -08:00
Emil Dotchevski
7d79a9dfae Optimizations 2019-11-06 10:59:41 -08:00
Emil Dotchevski
e2d4318101 Optimization 2019-11-05 22:07:45 -08:00
Emil Dotchevski
0761730b0e error_id generation test 2019-11-04 23:02:46 -08:00
Emil Dotchevski
09efc8bd91 Fixing a typo 2019-11-04 21:44:10 -08:00
Emil Dotchevski
b06b6c5bb8 Added missing LEAF_NO_EXCEPTIONS ifdefs 2019-11-04 14:17:58 -08:00