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

318 Commits

Author SHA1 Message Date
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
Emil Dotchevski
a0df67a8c6 merged master 2019-07-23 19:19:46 -07:00
Emil Dotchevski
403738d5f0 Merge branch 'master' into develop 2019-07-23 19:17:46 -07:00
Emil Dotchevski
174a54ea6c Added missing noexcept to result::accumulate 2019-07-23 15:34:02 -07:00
Emil Dotchevski
8e2756e139 reverting previous change, broke a bunch of older compilers. 2019-07-15 17:16:17 -07:00
Emil Dotchevski
05a5e66724 Potentially more optimal verbose_diagnostic_info 2019-07-15 17:01:10 -07:00
Emil Dotchevski
99d62f0019 renamed meson options to avoid reserved build_ prefix 2019-07-08 15:50:39 -07:00
Emil Dotchevski
efc61027af Fixed basic guarantee bug in result<T> 2019-04-29 13:48:28 -07:00
Emil Dotchevski
bc30c4258a Removing g++-4.9 workarounds 2019-04-27 12:06:38 -07:00
Emil Dotchevski
9589374770 Stole fresh mp_valid from mp11 2019-04-27 11:54:20 -07:00
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
04061e0495 Added outcome::result example 2019-04-18 10:06:41 -07:00
Emil Dotchevski
9774f2a934 added op-> for result<void> 2019-04-07 18:08:51 -07:00
Emil Dotchevski
0e65c833fd added result<T>::operator-> and tests 2019-04-06 22:41:34 -07:00
Emil Dotchevski
d07a38c9d9 Merge branch 'master' of https://github.com/zajo/leaf 2019-03-25 15:21:42 -07:00
Emil Dotchevski
9b1ad59220 allowing context_activator to be used on active context 2019-03-25 15:21:28 -07:00
Emil Dotchevski
0e8ce03d49 fixed bug in handling non-errors 2019-03-20 18:48:52 -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