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

441 Commits

Author SHA1 Message Date
Emil Dotchevski
33bf59237b Much simpler implementation of predicates 2020-07-01 21:07:20 -07:00
Emil Dotchevski
1cb480e2e2 Better compile errors for bad predicates 2020-06-30 20:19:22 -07:00
Emil Dotchevski
0d012c3acc Missing #include <system_error> 2020-06-30 18:41:28 -07:00
Emil Dotchevski
c21b0eaf71 Fixed context deactivation bug, improved type safety for match<>, match_value<>, match_member<> 2020-06-30 16:47:56 -07:00
Emil Dotchevski
9a3da94387 Renamed catch_::caught to catch_::matched 2020-06-30 14:57:31 -07:00
Emil Dotchevski
6501be44a2 fixed exception-handling=off compile error 2020-06-30 14:21:39 -07:00
Emil Dotchevski
9435b0daf6 Dependency shuffle 2020-06-30 11:02:55 -07:00
Emil Dotchevski
cc6236d904 Minor change in BOOST_LEAF_MATCH_ARGS 2020-06-30 10:04:52 -07:00
Emil Dotchevski
4bc6c6076a Better ifdefing for match/c++17 2020-06-30 10:00:11 -07:00
Emil Dotchevski
383ab00032 MSVC compile error 2020-06-29 23:59:14 -07:00
Emil Dotchevski
f0400757e1 Fixing MSVC compile error 2020-06-29 23:50:43 -07:00
Emil Dotchevski
820fa854b5 exception-handling=off compile error 2020-06-29 23:24:28 -07:00
Emil Dotchevski
decbaa964c cosmetic changes 2020-06-29 22:43:14 -07:00
Emil Dotchevski
fd0041770a match<>, match_value<>, match_member<>, catch_<> 2020-06-29 19:50:40 -07:00
Emil Dotchevski
0d608fd1fa pred.hpp 2020-06-28 16:58:05 -07:00
Emil Dotchevski
dd00b99c45 Restoring BOOST_LEAF_AUTO, keeping BOOST_LEAF_VAR 2020-06-28 13:50:26 -07:00
Emil Dotchevski
24ad28ebee Made error_info data members private 2020-06-27 23:46:14 -07:00
Emil Dotchevski
f403febfc2 Protected constructors in diagnostic_info and verbose_diagnostic_info 2020-06-27 23:41:01 -07:00
Emil Dotchevski
faebb5127e Disabled copying of diagnostic_info and verbose_diagnostic_info 2020-06-27 23:23:34 -07:00
Emil Dotchevski
fa5b4ec55d Fixed !BOOST_LEAF_DIAGNOSTICS bug. 2020-06-27 18:46:43 -07:00
Emil Dotchevski
c299f5f50a Big refactoring, much cleaner system of handler_argument_traits 2020-06-27 18:22:15 -07:00
Emil Dotchevski
d99c943bd1 Added hierarchy ref tests for result op* and op-> 2020-06-25 17:15:44 -07:00
Emil Dotchevski
99b5120852 Fixed bug in result<T &> support 2020-06-25 14:55:11 -07:00
Emil Dotchevski
7b5a7566d9 Better result<T &> support 2020-06-25 14:35:51 -07:00
Emil Dotchevski
27d440aea7 result<T &> support 2020-06-25 12:39:11 -07:00
Emil Dotchevski
765d34fb95 Renamed cat->category, catch_::value() -> catch_::caught() 2020-06-24 15:46:37 -07:00
Emil Dotchevski
775f957dea BOOST_LEAF_AUTO -> BOOST_LEAF_VAR(auto 2020-06-24 11:45:42 -07:00
Emil Dotchevski
bc23b95959 Better cat 2020-06-24 11:45:12 -07:00
Emil Dotchevski
749066a86d Minor change to match<> 2020-06-24 00:32:55 -07:00
Emil Dotchevski
0dac5bbfaa better cat<> 2020-06-23 17:55:08 -07:00
Emil Dotchevski
45f693392d Fixing compile error in check_value_pack 2020-06-23 17:49:03 -07:00
Emil Dotchevski
8924216c86 Implemented matching by std::error_category 2020-06-23 17:44:36 -07:00
Emil Dotchevski
af9907dde3 Removed leaf::code<> 2020-06-23 09:36:56 -07:00
Emil Dotchevski
28d803b5c1 simpler check_value_pack 2020-06-23 08:55:27 -07:00
Emil Dotchevski
a1b1463960 fixed bugs 2020-06-23 01:33:16 -07:00
Emil Dotchevski
af22fb44dc Working on match<std::error_code,...> 2020-06-22 23:07:43 -07:00
Emil Dotchevski
ed7117eac5 Leaner Boost Exception integration 2020-06-20 18:56:03 -07:00
Emil Dotchevski
de52e818b0 Boost Exception integration 2020-06-20 16:31:38 -07:00
Emil Dotchevski
8dd2b7f4e8 Renamed augment_id to error_monitor 2020-06-19 13:03:00 -07:00
Emil Dotchevski
b61116a5b0 on_error using uncaught_exceptions if available 2020-06-18 21:24:19 -07:00
Emil Dotchevski
e8479a16e6 Documentation improvements, minor change in how std::error_code is handled. 2020-06-17 20:43:54 -07:00
Emil Dotchevski
3a283d8d37 Support in match<> for std::error_code as the first argument, as well as .value function 2020-06-16 19:59:37 -07:00
Emil Dotchevski
e90592a68f Backwards compatibility header 2020-06-16 00:09:07 -07:00
Emil Dotchevski
2a76bec85b Bug in BOOST_LEAF_EXCEPTION 2020-06-16 00:08:58 -07:00
Emil Dotchevski
1c9a2eca4b Removed redundant std::exception when calling leaf::exception() 2020-06-15 18:37:35 -07:00
Emil Dotchevski
0382743fbe Example tweaks, BOOST_LEAF_THROW renamed to BOOST_LEAF_THROW_EXCEPTION 2020-06-15 16:40:42 -07:00
Emil Dotchevski
414c2b9a25 Context deduction tweaks 2020-06-14 18:55:02 -07:00
Emil Dotchevski
9fde64be8a Prefixed all macros with BOOST_ 2020-06-14 18:10:22 -07:00
Emil Dotchevski
c7a985af98 removed unnecessary declarations 2020-06-14 12:16:30 -07:00
Emil Dotchevski
08b43478c4 faster to compile tuple handlers implementation 2020-06-14 10:51:26 -07:00