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

328 Commits

Author SHA1 Message Date
Emil Dotchevski
09bbbf7c9e Workaround in result_bad_result_test for gcc 4.8 2021-10-05 15:14:37 -07:00
Emil Dotchevski
734bd8dda5 Renamed examples -> example 2021-08-28 16:19:40 -07:00
Emil Dotchevski
300ef59a41 Support for noexcept error handlers 2021-08-24 10:19:09 -07:00
Emil Dotchevski
a314c0a028 Added _compile-fail-result_4 unit test 2021-07-10 13:40:27 -07:00
Emil Dotchevski
06a7779699 New unit tests and fix for issuo 26 2021-07-10 10:14:22 -07:00
Emil Dotchevski
0a665fbbc3 BOOST_LEAF_SYMBOL_VISIBLE 2021-02-11 17:13:19 -08:00
Emil Dotchevski
294728e5b5 Fixing bug in e_LastError, adding unit tests 2021-02-10 18:35:46 -08:00
Emil Dotchevski
74b580b88d Deindented top level namespaces and updated copyright messages 2021-01-26 22:46:15 -08:00
Emil Dotchevski
ee893eae63 Adding required #define in Jamfile.v2 2021-01-22 23:45:22 -08:00
Emil Dotchevski
3c6f956912 Workaround for BOOST_WORKAROUND not being available when building unit tests in Meson and Boost is not available 2021-01-22 21:53:37 -08:00
Emil Dotchevski
bd46318d85 Printing std::exception::what even when the exception isn't caught explicitly 2021-01-08 11:39:22 -08:00
Emil Dotchevski
43582bb44c Generagitng leaf.hpp on GitHub Actions 2020-12-19 23:43:34 -08:00
Emil Dotchevski
91f55c4598 Added single-header test variants in Jamfile.v2 2020-12-09 14:51:19 -08:00
Emil Dotchevski
4a11277356 Added compile-fail tests for static_asserts in BOOST_LEAF_AUTO and BOOST_LEAF_ASSIGN 2020-12-09 14:34:35 -08:00
Emil Dotchevski
39d8617a77 handle_all_test accommodating older compilers 2020-12-09 11:02:09 -08:00
Emil Dotchevski
fdff6508ce Duplicated unit tests: testing each with single header and with individual headers 2020-12-09 00:26:59 -08:00
Emil Dotchevski
b88ecf9040 Fixing Issue # 18 2020-12-08 18:28:00 -08:00
Emil Dotchevski
e9eb0323c5 Issue #16 2020-12-08 14:36:26 -08:00
Emil Dotchevski
420022600e Unit test to verify correct assignment of new error_id 2020-11-24 15:22:49 -08:00
Emil Dotchevski
8e44c206ef Better handling of handlers accessing the std::error_code stored in std::system_error. 2020-11-23 19:57:46 -08:00
Emil Dotchevski
a48880368f Improved unit test 2020-11-23 16:40:56 -08:00
Emil Dotchevski
ef92aaacd9 match<condition<>> working with std::system_error exceptions as well 2020-11-22 21:17:10 -08:00
Emil Dotchevski
f9bb01572f Added unit tests for pull request 15 2020-11-21 16:51:02 -08:00
Edward Diener
10e0559525 Add __clang__ with __gnuc__ since there are implementations of clang, ie. Embarcadero and Intel C++ on Windows, which do not use gcc. 2020-11-02 19:25:26 -05:00
Emil Dotchevski
7b2ce7a9f9 GCC49 workaround for BOOST_LEAF_ASSIGN_test and BOOST_LEAF_AUTO_test 2020-10-26 12:53:11 -07:00
Emil Dotchevski
e8f1541db5 Workarounds for old GCC and CLANG compilers 2020-10-25 19:09:33 -07:00
Emil Dotchevski
82811b0998 Fixing compile error in BOOST_LEAF_AUTO_test and BOOST_LEAF_ASSIGN_test. 2020-10-25 11:49:45 -07:00
Emil Dotchevski
d527720f4d Added &, &&, & const, && const overloads result::value and result::operator* 2020-10-24 18:42:55 -07:00
Emil Dotchevski
446098fd8a Trimmed down standard includes:
- no longer including <ostream>, using <iosfwd> instead
- under BOOST_LEAF_DIAGNOSTICS=0, no longer including <set> and <sstream>
2020-10-20 17:52:33 -07:00
Emil Dotchevski
44eec77cf0 detab 2020-10-20 12:23:13 -07:00
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