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

338 Commits

Author SHA1 Message Date
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
Emil Dotchevski
4b6110bb37 context_activator modified to avoid virtual function calls on context activation/deactivation 2019-11-04 12:04:02 -08:00
Emil Dotchevski
0b4143cc69 Optimization in error id generation 2019-11-03 20:30:07 -08:00
Emil Dotchevski
eb6e376ffa Fixed bug in generate_single_header.py 2019-11-03 19:22:13 -08:00
Emil Dotchevski
429d20f89f Tweak to LEAF_NO_EXCEPTIONS 2019-11-02 15:24:13 -07:00
Emil Dotchevski
dd99f0ccc4 Travis CI 2019-11-01 23:02:49 -07:00
Emil Dotchevski
b0de2e436e Fixing std::exception_ptr reference under LEAF_NO_EXCEPTIONS 2019-11-01 17:09:45 -07:00
Emil Dotchevski
2d90fd459d Support for LEAF_NO_THREADS, changes to the support for LEAF_NO_EXCEPTIONS 2019-11-01 17:04:56 -07:00
Emil Dotchevski
ae23e14472 Fixes, and tests for -fno-exceptions -fno-rtti 2019-10-31 18:09:47 -07:00
Emil Dotchevski
e577cfe0f5 auto & => auto && in LEAF_AUTO 2019-08-19 18:37:26 -07:00
Emil Dotchevski
d68cc127dd BOOST_LEAF_DISCARD_UNEXPECTED 2019-07-27 11:44:33 -07:00
Emil Dotchevski
a6abe5ae54 result optimizations 2019-07-26 15:10:38 -07:00
Emil Dotchevski
37c8a0e2be Optimization: removed guard variables 2019-07-25 13:29:53 -07:00
Emil Dotchevski
fccda69f11 Removing constructor for inner cat type (get_error_gategory) 2019-07-23 19:41:10 -07:00
Emil Dotchevski
35e34ac8eb Potentially more optimal get_error_category implementation 2019-07-23 19:26:54 -07:00
Emil Dotchevski
cffbeb476f Removed use of context_activator in result 2019-07-23 19:24:55 -07:00
Emil Dotchevski
954f6ed2ec All namespace-scope function templates -> inline 2019-07-23 19:23:57 -07:00