2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-31 20:22:15 +00:00
Commit Graph

953 Commits

Author SHA1 Message Date
Emil Dotchevski
e9eb0323c5 Issue #16 2020-12-08 14:36:26 -08:00
Emil Dotchevski
6c43185d51 Better examples/print_file/readme.md 2020-12-08 14:17:59 -08:00
Emil Dotchevski
b90ddd5253 Issue #17 2020-12-08 13:35:52 -08:00
Emil Dotchevski
ed3683a8ce Uniform wrapping for multi-line comments 2020-12-06 23:42:50 -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
bb3ec97c9b Handling of std::error_code as well as std::system_error in peek_exception 2020-11-23 21:39:28 -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
2280f3f5cd Removed const_cast from std::system_error::code() access 2020-11-23 15:53:35 -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
Emil Dotchevski
f8954b05af Merge pull request #15 from vector-of-bool/feature/conditional-system_error-convert
Conditionally unpack an error_id from a thrown system_error
2020-11-21 16:47:58 -08:00
vector-of-bool
efc56d1c70 Conditionally unpack an error_id from a thrown system_error
Previously, if a std::system_error was caught and passed to
unpack_error_id, then the 'exc.code()' would be unconditionally
converted to an error_id, even if the code did not correspond
to an actual error_id value. This effectively prevents reliable
use of std::system_error as an exception type.

This tweaks to only consider the system_error to be an error_id
if the code() of that error matches is_error_id().
2020-11-20 22:21:33 -07:00
Emil Dotchevski
7b0d67d87d Merge pull request #13 from eldiener/develop
Add __clang__ with __gnuc__ since there are implementations of clang,…
2020-11-02 22:27:10 -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
dee275c1a7 Formatting 2020-10-25 15:13:47 -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
1e8c6c7d28 BOOST_LEAF_CHECK using a generated temporary as well 2020-10-24 21:26:18 -07:00
Emil Dotchevski
d527720f4d Added &, &&, & const, && const overloads result::value and result::operator* 2020-10-24 18:42:55 -07:00
Emil Dotchevski
fb632b5704 Added absolute diagnostic paths in meson.build/clang (better vscode integration) 2020-10-24 18:10:19 -07:00
Emil Dotchevski
c364a95248 define=_CRT_SECURE_NO_WARNINGS in appveyor.yml 2020-10-20 19:16:39 -07:00
Emil Dotchevski
7563674fd8 Adding required include <string> to implement std::error_category 2020-10-20 18:34:33 -07:00
Emil Dotchevski
3f4ef8207f mkdir -p in .travis.yml 2020-10-20 18:00:50 -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
c20262d1f8 Merge branch 'develop' 2020-09-13 17:09:49 -07:00
zajo
d5c22966c5 Merge branch 'develop' of https://github.com/boostorg/leaf into develop 2020-09-13 16:55:22 -07:00
zajo
02d0b85122 Renamed leaf.hpp include guard 2020-09-13 16:54:41 -07:00
Emil Dotchevski
f567df08bb Merge branch 'develop' 2020-09-07 13:35:46 -07:00
Emil Dotchevski
8143afa4f2 Minor edits to whitepaper.md 2020-09-07 13:34:56 -07:00
Emil Dotchevski
d0126de955 Merge branch 'develop' 2020-09-06 21:03:32 -07:00
Emil Dotchevski
7e4941ac3b Merge branch 'develop' of https://github.com/zajo/leaf into develop 2020-09-06 18:02:47 -07:00
Emil Dotchevski
229f2fd600 Minor updates to benchmark.md 2020-09-06 18:02:19 -07:00
Emil Dotchevski
dcb359b2bc Made leaf_category final 2020-09-06 17:55:40 -07:00
zajo
69091a5b2c Merge branch 'develop' 2020-09-06 04:25:53 -07:00
zajo
e14d0ea374 Moved Support/Portability to the top of the documentation 2020-09-06 04:25:11 -07:00
zajo
c99e180a64 Updated godbolt links in benchmark.md 2020-09-05 22:01:19 -07:00
Emil Dotchevski
e34db5e4f2 Merge branch 'develop' 2020-09-04 15:27:18 -07:00
zajo
6182324444 Split ubsan builds on Travis 2020-09-04 10:11:05 -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
899f8e06fe Turning off C++17 tests for old GCC versions 2020-09-01 13:16:32 -07:00
Emil Dotchevski
f8c8a1d566 travis 2020-08-31 03:05:37 -07:00
Emil Dotchevski
6fa94b5aa3 Fixed bug in detection of std::uncaught_exceptions 2020-08-30 22:16:52 -07:00
Emil Dotchevski
33d558257a Removing a note that LEAF is not part of Boost 2020-08-30 17:44:27 -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