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

298 Commits

Author SHA1 Message Date
zajo
c87a80daeb Minor tweak to diagnostic information 2020-09-03 22:33:43 -07:00
Emil Dotchevski
d829b48078 Removed incorrect constexpr from result<T> 2020-09-02 15:05:34 -07:00
Emil Dotchevski
6fa94b5aa3 Fixed bug in detection of std::uncaught_exceptions 2020-08-30 22:16:52 -07:00
Emil Dotchevski
c233dd5133 Renamed boost/leaf/all.hpp to boost/leaf.hpp 2020-08-30 17:41:12 -07:00
Emil Dotchevski
04b6d57d45 Fixed minor issues due to differences between C++17 and C++11 2020-08-30 16:46:13 -07:00
Emil Dotchevski
a5058d930b Renamed custom b2 variants for testing with BOOST_LEAF_DIAGNOSTICS=0 2020-08-30 14:35:27 -07:00
Emil Dotchevski
e4e8154e30 boostorg compatibility changes 2020-08-30 13:36:58 -07:00
Emil Dotchevski
db9e360a07 Moved config.hpp to detail/config.hpp 2020-07-18 17:29:41 -07:00
Emil Dotchevski
022c168eaf Added assignment test for initialization forwarding constructor of result<> 2020-07-09 13:00:23 -07:00
unknown
20ff25fee5 Removed redundant "using namespace", added try_catch under BOOST_LEAF_NO_EXCEPTIONS 2020-07-09 05:31:56 -07:00
unknown
e4b513dae9 deleted handler_argument_traits.hpp, moved contents to context.hpp 2020-07-08 23:07:32 -07:00
unknown
2dcbf01bcd Removed requires_catch 2020-07-08 21:50:11 -07:00
Emil Dotchevski
fa9f5af06e Improved tests for try_handle_some/all mixed use with exceptions 2020-07-08 19:16:29 -07:00
Emil Dotchevski
c455cd9fbf Deleted catch/nocatch context types 2020-07-08 18:42:11 -07:00
Emil Dotchevski
692b866a46 result<T> constructor for any type U that can be used to initialize a T 2020-07-07 19:24:20 -07:00
Emil Dotchevski
ae08413380 BOOST_LEAF_VAR renamed to BOOST_LEAF_ASSIGN 2020-07-06 12:22:26 -07:00
Emil Dotchevski
6a1b812d03 removed success/failure functions, plus more complete error_code_test 2020-07-06 12:20:08 -07:00
Emil Dotchevski
d164364b5e success, failure tests 2020-07-05 19:52:24 -07:00
Emil Dotchevski
4c3648e900 success, failure 2020-07-05 17:49:04 -07:00
Emil Dotchevski
9943f4e310 success() 2020-07-05 16:33:38 -07:00
Emil Dotchevski
efa9895b1d BOOST_LEAF_NORETURN 2020-07-04 19:14:29 -07:00
Emil Dotchevski
b61b304fab Better meson.build, examples build with exception handling disabled, removed unnecessary meson options 2020-07-04 15:55:09 -07:00
Emil Dotchevski
99a4082226 catch_ turned into proper predicate 2020-07-04 12:13:41 -07:00
Emil Dotchevski
6235586f99 is_predicate private 2020-07-04 09:37:02 -07:00
Emil Dotchevski
b0d857715d BOOST_LEAF_STANDALONE 2020-07-03 23:12:08 -07:00
Emil Dotchevski
019ef479ef is_predicate 2020-07-03 20:28:19 -07:00
Emil Dotchevski
8dc8a1314d Better organization for handler_angument_traits of diagnostic_info and verbose_diagnostic_info 2020-07-03 16:31:16 -07:00
Emil Dotchevski
6ae565d272 Better boost::exception integration 2020-07-03 16:08:33 -07:00
Emil Dotchevski
ba4ad52e2e Better BOOST_LEAF_AUTO and BOOST_LEAF_VAR tests 2020-07-03 15:23:21 -07:00
Emil Dotchevski
1f7524ce7d BOOST_LEAF_VAR_test and BOOST_LEAF_AUTO_test 2020-07-03 14:52:32 -07:00
Emil Dotchevski
6ebf29a902 Even simpler predicate implementation 2020-07-03 13:49:31 -07:00
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