Commit Graph

979 Commits

Author SHA1 Message Date
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
939e795094
Finish ASIO recipe snippet for issue #165 2019-02-13 20:26:37 +00:00
Jenkins nedprod CI
d7f08d22f5 Merging commit ned14/outcome@1564908eed:
Merged from develop branch as CDash reports all green
2019-02-12 15:04:34 +00:00
Jenkins nedprod CI
5bd19ba81f Merging commit ned14/outcome@cd092389f5:
Merged from develop branch as CDash reports all green
2019-02-12 15:04:33 +00:00
Jenkins nedprod CI
110e8ee572 Merging commit ned14/outcome@056ef6bc79:
Merged from develop branch as CDash reports all green
2019-02-12 15:04:31 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7c58d23d35
Fix bug in boostify script which was failing to update Boost.Outcome. 2019-02-12 14:52:03 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b77bfecc94
Restore recently purged policy/error_code helper function as LLFIO needs it.
Add CMakeLists.txt to Boost.Outcome, fixing issue #170. Note that the Boost.Exception dependency is missing cmake support.

Clarify requirements page to avoid issues like #171 in future.
2019-02-11 15:13:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8f8fcba74f
Finished reflowing tutorial, except for the parts on my laptop I left at home. 2019-02-11 13:38:04 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2da50ff1d7
Added new tutorial page on conventions. Fixed many small docs bugs. 2019-02-09 14:45:47 +00:00
Jenkins nedprod CI
8a25b8ce48 Merging commit ned14/outcome@e1fb481db0:
Merged from develop branch as CDash reports all green
2019-02-07 14:43:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4771f5b81e
Reflowed tutorial section "Hooking events" 2019-02-07 14:30:22 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c7fe7de612
Reflowed tutorial up to before "Hooking Events" 2019-02-06 16:50:01 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
84b9971fcb
Disable the experimental status code code snippet on GCC 6. 2019-02-06 15:23:43 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
164e2330aa
WIP reflowing tutorial to match Outcome 2.1. 2019-02-06 14:38:54 +00:00
Jenkins nedprod CI
227c18d27f Merging commit ned14/outcome@8506b83420:
Merged from develop branch as CDash reports all green
2019-02-06 10:56:02 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4d0d18fc84
Fix the build of all the documentation snippets (well, the trivial fixes, one fails for good reason).
Stop trying to run ubsan on GCC 6 on Travis.
2019-02-06 10:43:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7a97e2ca18
Fix build breakage in status_outcome, and remove the unnecessary dragging in of <system_error>. 2019-02-05 21:41:47 +00:00
Jenkins nedprod CI
47152925bc Merging commit ned14/outcome@00ee6fe123:
Merged from develop branch as CDash reports all green
2019-02-05 17:21:27 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3d112fcca6
Make choice of is_nothrow_swappable implementation macro configurable.
Eliminate experimental/status_result and status_outcome. Rename erased_result and erased_outcome to status_result and status_outcome.

Finish reworking the C macro API section of Experimental Outcome docs.

Looks like I've broken the experimental outcome :(. Will diagnose later.
2019-02-05 17:14:18 +00:00
Jenkins nedprod CI
ebbc6deebd Merging commit ned14/outcome@4c5232cc40:
Merged from develop branch as CDash reports all green
2019-02-01 23:53:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
422010c07c
Added many missing functions to the API reference docs.
Moved C API part of tutorial into Experimental.

Fix build breakage on FreeBSD.
2019-02-01 23:42:52 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e5594b956a
I *think* I have finished the API reference docs, more or less. Yay!
Changed how the ADL discovery of the basic_outcome_failure_exception_from_error() function is performed, now uses a delayed two phase lookup thunker.
2019-02-01 15:52:57 +00:00
Jenkins nedprod CI
280d426076 Merging commit ned14/outcome@38ef9ef868:
Merged from develop branch as CDash reports all green
2019-01-31 01:17:46 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b0cbb30fbe
Got started into reference documenting the member functions of outcome. 2019-01-31 01:07:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a720b4423f
More reference docs for basic outcome. 2019-01-30 16:16:10 +00:00
Jenkins nedprod CI
4a1623a3d1 Merging commit ned14/outcome@6254f79071:
Merged from develop branch as CDash reports all green
2019-01-30 00:34:42 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bc306f037e
Finished clang-tidy round. 2019-01-30 00:23:15 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c11e7968e0
clang-tidy pass. 2019-01-29 22:54:59 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
85e6a66ab1
Wrote C macro API documentation page. 2019-01-28 22:40:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e0f7083334
Reworked the C API to support Experimental Outcome instead. 2019-01-28 17:27:56 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e90229e265
Prevent Boost conversion for tests/experimental-core-outcome-status.cpp. 2019-01-28 12:16:38 +00:00
Jenkins nedprod CI
eed4ffd6c0 Merging commit ned14/outcome@690364d685:
Merged from develop branch as CDash reports all green
2019-01-27 13:22:53 +00:00
Jenkins nedprod CI
3ccf085533 Merging commit ned14/outcome@14f8dd3358:
Merged from develop branch as CDash reports all green
2019-01-27 13:22:52 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
19998e2d05
Finished documentation on Experimental Outcome. 2019-01-26 23:38:56 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
82cc977869
No longer choke on new clangs combined with old libstdc++'s.
Stop Boost.Outcome being tested on clangs before 4.0, as they will never work.

Fix menu on docs website sometimes running monotype and non-monotype items together.
2019-01-26 21:01:46 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e4f8cc8492
Fix build breakage due to yesterday's commit on gcc and clang.
FINALLY fix the .natvis update problem. Now basic_result and basic_outcome visualise properly in the Visual Studio debugger.
2019-01-26 15:32:22 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
84431eb086
Made a start on a new documentation section on Experimental.
Freshened History and Credits pages.

Experimental default policies now also fall back onto fail_to_compile_observers.
2019-01-25 23:04:27 +00:00
Jenkins nedprod CI
6af322672c Merging commit ned14/outcome@ebec32a5f6:
Merged from develop branch as CDash reports all green
2019-01-25 02:01:06 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8c4a9c5295
Reference documented the exception types. Got started on reference documenting basic_outcome. 2019-01-25 01:51:37 +00:00
Jenkins nedprod CI
3d3c252808 Merging commit ned14/outcome@d68be2e1ec:
Merged from develop branch as CDash reports all green
2019-01-24 01:23:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
375ed27183
Finished off reference documented the type aliases. Did another pass at fixing up stale links in the tutorial. 2019-01-24 01:15:16 +00:00
Jenkins nedprod CI
c9bc216c1f Merging commit ned14/outcome@e2cba05f41:
Merged from develop branch as CDash reports all green
2019-01-23 01:43:10 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b4bebfefcb
Reference documented the policy classes, some of the type aliases. 2019-01-23 01:27:31 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
99f949759d
Lots more reference docs. Also removed policy::error_code(), as the only thing using it was the std enum overload of outcome_throw_as_system_error_with_payload(). 2019-01-22 01:11:40 +00:00
Jenkins nedprod CI
308b780c0b Merging commit ned14/outcome@aaa7f28bc3:
Merged from develop branch as CDash reports all green
2019-01-19 01:36:48 +00:00
Jenkins nedprod CI
09334ab808 Merging commit ned14/outcome@d5c55d2d6d:
Merged from develop branch as CDash reports all green
2019-01-18 14:04:50 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5ed48ae665
Fix issue #162 again. Somehow or other the change to this file did not make the commit last time. Worrying. 2019-01-18 13:57:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ae42516282
Suppress GCC >= 8 warnings about unnecessary parentheses. 2019-01-17 22:42:01 +00:00
Jenkins nedprod CI
d1c7f9742d Merging commit ned14/outcome@f40e82bf54:
Merged from develop branch as CDash reports all green
2019-01-17 01:23:06 +00:00
Jenkins nedprod CI
028579f7a7 Merging commit ned14/outcome@1b5dc25c24:
Merged from develop branch as CDash reports all green
2019-01-17 01:23:05 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
046a6d7f1c
Fix recent breakage in automatic merging of commits to Boost.Outcome. 2019-01-17 01:03:19 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3a8dfaaf55
Explicitly update git submodules during Travis generation of Boost.Outcome 2019-01-16 21:02:21 +00:00
Jenkins nedprod CI
7539d43af0 Merging commit ned14/outcome@c1a2eb76a1:
Merged from develop branch as CDash reports all green
2019-01-12 20:24:14 +00:00
Jenkins nedprod CI
9861d4305a Merging commit ned14/outcome@a823cfbc01:
Merged from develop branch as CDash reports all green
2019-01-11 21:06:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b20bdce7de
Travis: work around lack of SHAs we need during Boost.Outcome conversion. 2019-01-11 20:57:15 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
649ab9929a
Travis: Fix failure to update master branch on Boost.Outcome, and restore missing hugo docs theme. 2019-01-11 17:42:12 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d190136b16
Fix failure to set correct git author and timestamp for commits converted to Boost.Outcome. 2019-01-11 16:50:04 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d30556aba6
Try again to get Travis to push updates to Boost.Outcome 2019-01-11 15:22:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
77d24082db
Add missing original branches during Boost.Outcome generation. 2019-01-10 22:27:38 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2d60d75743
Regenerate boostorg/outcome rather than ned14/boost-outcome. 2019-01-10 16:55:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f3dc9ff947 Merging commit ned14/outcome@2b6c5019ee:
Merged from develop branch as CDash reports all green
2019-01-10 12:17:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
22647cbf45 Merging commit ned14/outcome@1cb2bf6a38:
Merged from develop branch as CDash reports all green
2019-01-10 12:17:40 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d2b6764905 Merging commit ned14/outcome@0e12cfb257:
Yet more basic_result constructors.
2019-01-10 12:17:36 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ef22a4bc3f Merging commit ned14/outcome@e17e56d945:
upd
2019-01-10 12:17:32 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
da9f24be05
Merge branch 'orig-master' (early part) 2019-01-10 12:17:16 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0e12cfb257
Yet more basic_result constructors. 2018-12-15 17:49:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e17e56d945
upd 2018-12-15 13:12:51 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6fb5f9666c
Retried the C++ Modules based build with VS2019.9, found some MS headers are still problematic, so disabled again. 2018-11-21 09:07:03 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4995acdc40
upd 2018-11-19 09:06:59 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b5398125b2
Merge branch 'develop' of github.com:ned14/boost.outcome into develop 2018-11-16 09:17:14 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dde94e70d6
upd 2018-11-16 09:16:43 +00:00
Andrzej Krzemieński
efd1f79a0a
use _has_value inside policy::base 2018-11-12 11:55:07 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9d8e3ff7a7
Fix forgetting to upgrade outcome_exception_ptr_rethrow to new internal policy API. 2018-11-11 23:48:28 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f8c8660377
There is now as well a formal API for policies to access the exception/ptr member of outcomes. Definitely time for bed! 2018-11-11 23:27:11 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
212187eb6d
Created a formal API for policies to work with internal state without needing to access it directly. Cut off access to internals for policies, that means you all got to fix your policies, sorry. Implemented for result only so far, next up is for outcome. Thanks to Andrzej Krzemienski for asking all the right questions to make this happen.
Also when compiling on MSVC, now also compile with /permissive- to ensure our ugly hack workarounds for MSVC brokenness keep working.
2018-11-11 21:32:56 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
145639d23e
Try suggestion for /fpermissive- bug workaround from issue #142. 2018-11-08 19:18:47 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8796ed73ea
upd 2018-10-25 21:59:24 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2afe38db20
Update to latest SG14 status code. 2018-10-17 19:18:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0c4200b7ca
Update SG14 status code once more to fix a bug. 2018-10-15 20:04:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f380b5a069
Latest SG14 status code + unit test Herb wanted. 2018-10-15 19:53:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a312371cd7
Fixups in Outcome's unit tests for latest SG14 status code. This appears to be failing on VS2017 due to a compiler bug, sigh. 2018-10-12 09:59:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f0f6474b1a
Add macro OUTCOME_DISABLE_EXECINFO to work around issue #153 2018-09-20 19:00:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
af78839871
GCC 5 no longer can compile Outcome at all due to https://stackoverflow.com/questions/45607450/gcc5-nested-variable-template-is-not-a-function-template.
Added explicit version trap for GCC 5 to say it can not work. Note this is not a
breaking change, GCC 5 was never supported officially in any v2 Outcome.
2018-09-20 09:20:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
97cad4a622
OUTCOME_TRY now probes for .assume_value(), and if present uses it. Also patched in std::experimental::expected<T, E> support. 2018-09-14 18:09:24 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
aefc790a53
Issue #150 **BREAKING CHANGE** result<T, E>, boost_result<T, E> and std_result<T, E>
no longer implement hard UB on fetching a value from a valueless instance if `E` is
a UDT, they now fail to compile with a useful error message. If you wish hard UB,
use `unchecked<T, E>`, `boost_unchecked<T, E>` or `std_unchecked<T, E>` instead.
2018-09-14 18:08:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c678b9221e
Add experimental single header edition (issue #149) 2018-09-05 09:42:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dade07176c
Fix issue #148 where fetch is no longer available on OS X. 2018-09-04 19:13:49 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
92c8fa50a2
upd 2018-08-23 09:33:29 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4499df4c41
upd 2018-08-15 18:39:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2f521b22a9
upd 2018-07-03 09:38:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ef970dccd0
upd 2018-06-25 09:38:29 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3f755a0534
Fix build brokenness 2018-06-22 21:18:48 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d949bc40d4
upd 2018-06-22 18:45:03 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1051e50aef
upd 2018-06-22 09:34:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b1ff9f2a28
Fix compilation on GCC 8, thanks to cstratopoulos for the fix at pr #144.
Add FAQ entry comparing Outcome to P0709 Deterministic Exceptions.
2018-06-21 21:30:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4eb1466c77
upd 2018-06-19 09:32:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
95e0a2210d
upd 2018-06-15 18:54:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c86fe12e5d
upd 2018-06-08 14:34:53 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a4fe32179a
upd 2018-06-07 16:45:06 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
46497538f4
upd 2018-06-01 19:35:57 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9d0236d082
upd 2018-05-31 09:07:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b46a8fa80f
Fixed regression in earlier bug fix where exact type construction failed. This should restore the Boostified edition of Outcome to all tests passing. 2018-05-30 22:12:35 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4f12238c22
upd 2018-05-29 09:33:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b7011dd568
Fixed a nasty corner case bug where value type's without a copy constructor
but with a move constructor would indicate via traits that copy construction
was available. Thanks to Microsoft's compiler team for reporting this issue #140.
2018-05-21 18:31:14 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
238b4df9e9
New experimental status_code support had broken build with exceptions disabled, fixed. 2018-04-26 20:16:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cc218e85c3
upd 2018-04-25 09:55:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c8557f9bb3
More, or less, experimental SG14 status_code support is now in Outcome. 2018-04-16 16:36:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1521b80835
Added experimental status_result and status_outcome based on experimental status_code. 2018-04-13 10:01:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5188e87c55
All implementation issues in #127 fixed. 2018-04-03 20:40:41 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
24d1a53502
Boost edition is now 100% Boost, so defaults for result and outcome are
`boost::system::error_code::errc_t` and `boost::exception_ptr`. Moreover,
the test suite in the Boost edition now exclusively tests the Boost edition.
One can, of course, freely use the standalone edition with Boost, and the Boost
edition with `std` types.
2018-04-03 20:33:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6237ce4930
Reworked how the failure observer implementation is discovered so it can cope with dual use of Boost and STD types.
Renamed ADL discovered customisation point `throw_as_system_error_with_payload()` to `outcome_throw_as_system_error_with_payload()`.
2018-04-03 20:13:49 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f533900572
boost_result is finally working, boost_outcome is close, just one last thing to tweak. 2018-03-30 10:08:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ab3afd506b
Refined the deleting constructors implemented yesterday. Restored green CI hopefully. 2018-03-29 09:46:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fc4ad246bd
Added much clearer compile failure when user tries result<T, T> or outcome
where two or more types are identical. Thanks to Andrzej Krzemieński
for suggesting a technique which combines SFINAE correctness with
the remaining ability for `result<T, T>` etc to be a valid type, but
not constructible. Issue #135.

Disable ABI stability check on Travis, its versions of the ABI checking tools are just too old.

Lots of wip work on getting Boost.Outcome edition working, not there yet though.
2018-03-28 21:34:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com
e1a31b35ae
Finally got round to fixing issue #67 where noexcept tests fail on OS X for some unknown reason.
Turns out that the unknown reason is that libc++ has a really braindead implementation of
std::make_exception_ptr :(
2018-03-27 09:45:24 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3edf81ea34
ABI compliance check program was somehow horribly broken. Fixed. 2018-03-26 22:50:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
38e09b9985
Reworked throw_as_system_error_with_payload() to be overload based instead of traits based, this should finally clear the way for boost_result<> and std_result<> to coexist. 2018-03-26 22:35:57 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6524a366b2
Refactored the traits to use Expression SFINAE ADL discovery, thus paving the way for Outcome to dual-support both Boost and STD editions of everything. 2018-03-26 09:55:52 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1bf641b213
Outcome did not construct correctly from failure_type (bug #115)
Inexplicably outcome's error + exception constructor had been removed.
Nobody noticed during the Boost peer review, which is worrying seeing as that
constructor is needed for one of the main advertised features to Boost!
2018-03-24 00:06:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fd0d1cbca0
travis 2018-03-23 09:59:57 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cb11081d7f
I had leaked move and forward into basic_outcome :( 2018-03-23 09:47:08 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
112d73c76a
- Enhancement #107 operator== and operator!= now become disabled if the value, error and
exception types do not implement the same operator.
- Bug #116 Relatedly, both comparison operators simple didn't work right. Fixed.
2018-03-22 20:29:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1d4f4dd27c
Fix bug #109 Swap implementation's noexcept is too strict due to calling move constructors sometimes 2018-03-22 09:10:32 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2f4b5cf44f
Basic single header edition now includes try macros. 2018-03-21 20:07:12 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8fee7826e1
Also add ABI and API dumps to git repo.
Add a new single header file edition for a basic outcome which is the ultra lightweight edition.
2018-03-21 09:42:43 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
493851b6f2
Added a reference ABI dump for v2.1 so we can test how well it breaks with later changes. 2018-03-15 19:14:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6c2a4dcaa8
OUTCOME_TRY is now overloaded and selects void or auto edition according to input parameter count (issue #124) 2018-03-14 19:04:18 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7df4e24cf1
Fix generation of double underscored temporary variables in OUTCOME_UNIQUE_NAME, fixing issue #120. 2018-03-14 09:12:42 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e14f06cd13
Move the C result support and status-code into an experimental directory 2018-03-14 09:07:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9ec5e29123
Reworked outcome into basic_outcome etc. I think that's issue #110 closed, yay! 2018-03-13 21:38:50 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6cab958840
Fix breakage in docs snippet 2018-03-12 21:52:28 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ba2b11797d
Fix compile-fail regressions 2018-03-12 21:25:45 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
08e3e2899a
Finished breaking result into basic_result and std_result (issue #110). Include time has *dramatically* improved, including libstdc++ headers, basic_result.hpp parses in 1.17 secs vs 4.36 secs for std_result.hpp! Still need to convert outcome over, but getting close to closing this issue. 2018-03-12 20:52:47 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ee3f787929
Fix test regression 2018-03-12 09:58:03 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
81ff91b0b8
Renamed all the result internal implementation classes to basic_result_*. Still have result itself to convert over. #110 2018-03-12 09:51:22 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
db1cce23cc
result observers, result_final is now system_error clean. The big one remaining is result, it'll take more work. Issue #110. 2018-03-06 20:07:22 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1090ed5608
result_storage, value_storage, convert are all now system_error clean. 2018-03-06 20:00:09 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7c89acd9f5
Begin work on issue #110 by moving traits into their own header, various utility types into config.
success_failure.hpp is now system_error clean.
2018-03-06 18:59:07 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ba86c03db0
Add SG14 status-code as git submodule 2018-03-06 09:15:57 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com
ee292032f9
upd 2018-02-01 09:49:01 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com
97f8fd2c3d
upd 2018-01-30 21:26:18 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8e19b539c4
In theory, this is it for the peer review on Friday: code and docs freeze. All known broken links are fixed, including anchors, though no doubt the review will find some I've missed. I still have a few small items to tend to tomorrow, but basically Outcome is ready for review! Woohoo! 2018-01-17 23:35:00 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d52d32c4df
Did manual pass through of Standardese generated docs, inserting hacks and workarounds where necessary to generate a review ready set of reference API docs. These ain't perfect, but they're not awful. 2018-01-17 21:03:44 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f169631604
Fix test regression in clang-tidy cleanup this morning. 2018-01-17 15:13:08 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6578670cff
clang-tidy round 2 2018-01-17 09:59:30 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0374bf55bf
clang-tidy round 1 2018-01-17 09:10:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ed56d2bd79
Latest Standardese 2018-01-16 21:48:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ff2fc2a0fb
Fix syntax highlighting breakage due to Hugo upgrade 2018-01-15 20:15:41 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b01402c247
Improve documentation for the free function operator== and operator!=. Related to issue #86. 2018-01-15 18:58:44 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ccb51a3f64
Improved result and outcome class descriptions with links to relevant other docs 2018-01-15 09:54:59 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
29b0ca6cbe
Fix verbatim test case to use standardese notation 2018-01-15 09:25:07 +00:00