2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-27 06:52:14 +00:00

240 Commits

Author SHA1 Message Date
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
Emil Dotchevski
38d1d10865 Added Tag... template arguments to new_error, load, on_error, exception 2020-06-09 21:05:20 -07:00
Emil Dotchevski
3b835582ca Testing passing function with no arguments to load. 2020-06-08 23:03:40 -07:00
Emil Dotchevski
0ca28f0651 Compile error on g++4.9 2020-06-08 22:28:56 -07:00
Emil Dotchevski
a61886c99a Minor changes to local variable names in tests 2020-06-08 20:07:30 -07:00
Emil Dotchevski
443700ef16 deleted accumulate, defer, preload -- all done with on_error now. 2020-06-07 16:35:42 -07:00
Emil Dotchevski
d9819bac6b Deleting test/boost/core dir 2020-06-06 13:46:18 -07:00
Emil Dotchevski
30683e5444 Deleted is_e_type. Made improvements to leaf::exception. 2020-05-28 23:59:15 -07:00
Emil Dotchevski
e7449b9554 Inverted #ifndef -> #ifdef 2020-02-19 17:40:32 -08:00
Emil Dotchevski
fb5f65ea1d Travis: fixing broken test under -fno-exceptions 2020-02-19 17:36:58 -08:00
Emil Dotchevski
f91a17b8d5 Dealing with stale error objects when throwing non-LEAF exceptions 2020-02-19 17:01:23 -08:00
Emil Dotchevski
905564b672 Removed unused variable in exception_test.cpp 2020-01-13 17:42:00 -08:00
Emil Dotchevski
870d3dda24 Fixed preload bug, now it supports non-moveable types as well. 2020-01-03 18:22:06 -08:00
Emil Dotchevski
8b9ce65193 Fixed preload_exception_test under -fno-exceptions 2020-01-03 11:34:54 -08:00
Emil Dotchevski
7404e5585b BOOST_LEAF_ASSERT 2020-01-03 10:30:41 -08:00
Emil Dotchevski
0d276db168 Testing preload with non-LEAF exceptions 2020-01-03 10:23:09 -08:00
Emil Dotchevski
62ffacaa7d Updated test jamfile 2020-01-01 18:45:39 -08:00
Emil Dotchevski
c2323f50dc Removed exception handlinf member functions of the context class template 2020-01-01 18:41:48 -08:00
Emil Dotchevski
9fb4e7ce59 Fixing subtle bug in propagation of error objects. 2019-12-30 20:22:35 -08:00
Emil Dotchevski
30cfe9fce1 Context activation/deactivation/propagation refactored. 2019-12-29 18:13:10 -08:00
Emil Dotchevski
96477366c3 last_error() -> current_error() 2019-12-10 00:10:14 -08:00
Emil Dotchevski
0b1d09715e LEAF_EXCEPTION optionally supporting custom error_id 2019-12-08 22:08:42 -08:00
Emil Dotchevski
0ae00ab180 Major refactor to delete next_error(). Improved async support. 2019-12-08 15:38:16 -08:00
Emil Dotchevski
fca6cc6462 Better result<void> 2019-12-05 19:02:35 -08:00
Emil Dotchevski
e869edb5c2 Updated documentation, streamlined LEAF_DIAGNOSTICS support 2019-11-26 00:28:30 -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
4d0f2a78a2 is_result_type<R const> specialization 2019-11-19 14:30:04 -08:00