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

267 Commits

Author SHA1 Message Date
Emil Dotchevski
b4e3328cbf Deleted match_if, function pointers can be passed to match now. 2020-07-02 20:34:31 -07:00
Emil Dotchevski
042c250a35 if_not 2020-07-02 15:40:34 -07:00
Emil Dotchevski
f579047db8 match_if 2020-07-01 22:53:25 -07:00
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
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
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
faebb5127e Disabled copying of diagnostic_info and verbose_diagnostic_info 2020-06-27 23:23:34 -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
749066a86d Minor change to match<> 2020-06-24 00:32:55 -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
e8479a16e6 Documentation improvements, minor change in how std::error_code is handled. 2020-06-17 20:43:54 -07:00
Emil Dotchevski
9cd2619a99 Fixing obsolete comments in examples 2020-06-17 12:20:51 -07:00
Emil Dotchevski
b1e99f2333 Example tweaks 2020-06-17 11:57:58 -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
0c9b82ca14 Disabling example building under -fno-exceptions 2020-06-15 22:49:30 -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
5286241e8b std::inserter -> std::back_inserter 2020-06-14 19:26:31 -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
08b43478c4 faster to compile tuple handlers implementation 2020-06-14 10:51:26 -07:00
Emil Dotchevski
e42b845ff1 support for mutable references and mutable pointers 2020-06-13 23:36:08 -07:00
Emil Dotchevski
4462ee374e Enable exceptions to work without catch_<> 2020-06-13 17:32:50 -07:00
Emil Dotchevski
2fd17328b4 Compile error in result_load_test.cpp 2020-06-13 13:38:10 -07:00
Emil Dotchevski
e5258f8c46 Adding message to static_assert 2020-06-13 12:42:28 -07:00
Emil Dotchevski
566c57e1fb remote_ handling interfaces all gone! 2020-06-13 12:27:03 -07:00
Emil Dotchevski
c903dd7111 remote handlers by make_tuple works 2020-06-12 19:38:20 -07:00
Emil Dotchevski
45e564f8e7 Removed Tag... 2020-06-10 22:27:12 -07:00
Emil Dotchevski
b45915bd3b Updated copyright messages 2020-06-10 11:24:09 -07:00
Emil Dotchevski
6d1d34216c Added exception compile-fail tests 2020-06-10 11:20:17 -07:00
Emil Dotchevski
4d74b6a793 Improved diagnostic_info_test 2020-06-10 00:17:30 -07:00
Emil Dotchevski
a2a38c9275 LEAF_NEW_ERROR, LEAF_EXCEPTION, LEAF_THROW support for error tags 2020-06-10 00:02:46 -07:00
Emil Dotchevski
cbd0797ecb Restoring test/boost so meson tests can be used without Boost 2020-06-09 21:05:59 -07:00