Turns out copy and move simply weren't implemented for non-trivial types. Fixed.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-06 02:25:38 +0100
Substantially improved the error_code_extended example. Hopefully fixed OS X compilation failure. Various other small fixes.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-06 01:57:13 +0100
Wrote up a code example of how to implement extended error code info.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-05 22:15:01 +0100
Merge branch 'develop' of github.com:ned14/boost.outcome into develop
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-05 18:33:45 +0100
Merged the prototype test suite into the v1 ported test suite.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-05 01:08:35 +0100
Added compile-fail test support to quickcpplib, and thence a few compile fail tests.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-04 23:23:01 +0100
Upgraded Outcome to use quickcpplib's new cached scan file framework. Long overdue, should stop the spamming of the source directory with temp directories by Visual Studio.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-07-03 01:45:41 +0100
Fix weird bug on Firefox where links jump above their position.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-30 18:37:25 +0100
c17f1e3538Merged from develop branch as CDash reports all green
Jenkins nedprod CI
2017-06-29 00:00:48 +0100
In theory travis will now rebuild the docs website per commit. Ha!
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-27 22:19:39 +0100
After many hours of fiddling, reraised the landing page for Outcome.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-27 17:43:15 +0100
Outcome v2's converting constructors appear to be essentially done, so time to strip out the old implementation and put in this one.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-26 18:41:49 +0100
Just the converting constructors for outcome v2 to go, and I think the prototype is ready to replace the v1 implementation.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-26 02:35:25 +0100
Cleaned up and made still clearer the status_type vs error_type interplay.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-22 23:19:28 +0100
Added trait::enable_errored_result_creation<EC> to flip result between success|failure and success+status modes.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-22 18:38:18 +0100
Finished off the standardeseisation of Outcome v2 mocked up result<T, EC>
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-21 18:29:31 +0100
Hefty reorg of v2 result<T> to try to make Standardese grok it.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-21 02:58:19 +0100
Filled in lots and lots of Outcome v2 result<T> implementation detail.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-17 01:08:04 +0100
733f51aeeaMerged from develop branch as CDash reports all green
Jenkins nedprod CI
2017-06-17 00:00:12 +0100
Did more work on v2 outcome::outcome<>, but it's late, need to go to bed.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-16 01:39:20 +0100
boost-lite is no more, it is now quickcpplib and lots of its internals have changed. develop branch will be broken for some days until Outcome catches up.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-06-14 00:02:50 +0100
Fixed some bad English in the tutorial. Thanks to Paul Bristow for the fixed text.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-24 03:02:24 +0100
Fixed build failure with older clangs with LEWG Expected test suite
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-20 11:34:10 +0100
Issue #12 basic_monad's copy assignment no longer gets instantiated when type T cannot be copied.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-20 02:15:19 +0100
Issue #11 Changing state should never cause an empty state if avoidable. Outcomes and Expected will now not lose previous state during assignment or emplacement if the existing state's type has a nothrow move or copy constructor. It does this by moving the existing state onto the stack before trying to set the new state, and if that throws it restores the previous state. This new code path only activates if any of the types stored have throwing move constructors.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-20 02:11:12 +0100
Issue #23 Get Outcome working on VS2017 Update 1. Thanks to Vinnie Falco for reporting this.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-19 19:21:28 +0100
All the recent changes had broken docs generation fairly badly, so did the minimum to get everything passing again. Will at some stage need to rejig the tutorial to match the new changes properly in prose.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-19 01:16:11 +0100
Issue #20 Rename: - monad_error to bad_outcome - monad_errc to bad_outcome_errc - monad_category to bad_outcome_category - BOOST_OUTCOME_THROW_MONAD_ERROR to BOOST_OUTCOME_THROW_BAD_OUTCOME Thanks to Peter Dimov, Andrzej Krzemienski and Paul Bristow for suggesting this.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-19 00:47:56 +0100
Issue #18result<T> had a .set_exception() which it should not have had. Thanks to Peter Dimov for reporting this.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-19 00:20:45 +0100
Issue #17 Give credit to Paul Bristow for the name "Outcome".
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-18 17:06:12 +0100
Issue #21 Correct misspelling of extended_error_code with error_code_extended in the docs. Thanks to Deniz Bahadir for reporting this.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-18 17:01:46 +0100
Issue #14 Removed all the static asserts in the Expected implementation apart from the nothrow move constructor check, which is now correct unlike the incorrect assert from before. Thanks to Vicente J. Botet Escriba for explaining Expected's semantics.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-14 01:28:42 +0100
Issue #15 Move outcome::expected<T, E> into outcome::experimental::expected<T, E>. Thanks to Vicente J. Botet Escriba for persuading me to do this.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-14 00:57:13 +0100
Set opcode limits for all the major compilers, and patched into travis. Closes issue #13.
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2017-05-14 00:30:30 +0100