Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8ea33262b8
Just the converting constructors for outcome v2 to go, and I think the prototype is ready to replace the v1 implementation.
2017-06-26 02:35:25 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
aaf5d23667
Disable positive status by default
2017-06-25 22:42:45 +01:00
Jenkins nedprod CI
836fd2f103
Merged from develop branch as CDash reports all green
2017-06-24 00:00:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
afe3341d53
Got started on v2 outcome
2017-06-23 19:02:12 +01:00
Jenkins nedprod CI
61992b8351
Merged from develop branch as CDash reports all green
2017-06-23 00:00:30 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
26b1db557b
Cleaned up and made still clearer the status_type vs error_type interplay.
2017-06-22 23:19:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3261d09c3a
Added trait::enable_errored_result_creation<EC> to flip result between success|failure and success+status modes.
2017-06-22 18:41:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
38058fd1b4
Added converting constructor from compatible result<>
2017-06-22 03:03:44 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c5dd1b04d4
Got result v2 working in GCC 6. Added in status support.
2017-06-22 02:09:22 +01:00
Jenkins nedprod CI
ce0e9c1516
Merged from develop branch as CDash reports all green
2017-06-22 00:00:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dd339c8197
Finished off the standardeseisation of Outcome v2 mocked up result<T, EC>
2017-06-21 18:29:31 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dca014b2f7
Hefty reorg of v2 result<T> to try to make Standardese grok it.
2017-06-21 02:58:19 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c6b38e0eb7
Redid benchmarks for mocked up Outcome v2 result<T>
2017-06-21 00:10:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0c4a808062
Added constexpr testing of Outcome v2 result mockup
2017-06-20 19:50:42 +01:00
Jenkins nedprod CI
b02b032862
Merged from develop branch as CDash reports all green
2017-06-18 00:00:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1728499cc6
Fix bug in wide value check
2017-06-17 17:41:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4f8eb8d46e
Filled in lots and lots of Outcome v2 result<T> implementation detail.
2017-06-17 01:08:04 +01:00
Jenkins nedprod CI
733f51aeea
Merged from develop branch as CDash reports all green
2017-06-17 00:00:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8e5f09d586
Did more work on v2 outcome::outcome<>, but it's late, need to go to bed.
2017-06-16 01:39:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8fd6ac8c57
Added mini test suite for Outcome v2 mockup
2017-06-16 00:39:06 +01:00
Jenkins nedprod CI
8db3386ed9
Merged from develop branch as CDash reports all green
2017-06-16 00:00:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3c768053be
Latest Outcome v2 thoughts
2017-06-15 19:32:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f756bd4e30
Began mock up of post-peer-review Outcome
2017-06-15 00:31:22 +01:00
Jenkins nedprod CI
a7df1ecd8f
Merged from develop branch as CDash reports all green
2017-06-14 20:03:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
523ab525f1
Fix failure to find ctest scripting.
2017-06-14 19:54:57 +01:00
Jenkins nedprod CI
84a285d973
Merged from develop branch as CDash reports all green
2017-06-14 19:46:41 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8c3a27eda3
try again fix CI
2017-06-14 19:41:34 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e1d6ebef8a
More renaming
2017-06-14 16:24:22 +01:00
Jenkins nedprod CI
c7e09a39bc
Merged from develop branch as CDash reports all green
2017-06-14 16:18:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7d6625fbc8
Mostly fully ported over to quickcpplib
2017-06-14 16:09:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b5a69414ee
Build system ported over to use quickcpplib
2017-06-14 15:28:37 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f3b54fae4d
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.
2017-06-14 00:02:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
127812aee9
Updated compiler-platform requirements.
2017-05-27 15:24:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0b95530d0c
Fixed some bad English in the tutorial. Thanks to Paul Bristow for the fixed text.
2017-05-24 03:02:24 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
62d9bed841
Fix issue #36 mingw-w64 build support
2017-05-24 00:34:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e8c262fa47
Fixed build failure with older clangs with LEWG Expected test suite
2017-05-20 11:34:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b507c466b2
Issue #12 basic_monad's copy assignment no longer gets instantiated when type T cannot be copied.
2017-05-20 02:15:19 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
28b3f8269e
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.
2017-05-20 02:11:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
51d08d35ca
Issue #23 Get Outcome working on VS2017 Update 1. Thanks to Vinnie Falco for reporting this.
2017-05-19 19:21:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9efc50dad2
Iterate changelog headers.
2017-05-19 13:45:03 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ee7a952a8d
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.
2017-05-19 01:16:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0c73108cf6
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.
2017-05-19 00:47:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e1963be23e
Rename monad_error.hpp to bad_outcome.hpp
2017-05-19 00:41:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
22bd10cbd4
Issue #19 Remove observers .is_ready()
, .get_error_or()
, .get_exception_or()
.
2017-05-19 00:27:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
966d321caa
Issue #18 result<T>
had a .set_exception()
which it should not have had. Thanks to Peter Dimov
...
for reporting this.
2017-05-19 00:20:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1262f72198
Issue #17 Give credit to Paul Bristow for the name "Outcome".
2017-05-18 17:06:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5f7ee7f4e4
Issue #21 Correct misspelling of extended_error_code
with error_code_extended
in the docs.
...
Thanks to Deniz Bahadir for reporting this.
2017-05-18 17:01:46 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dbcde5de08
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.
2017-05-14 01:28:42 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bc3c0bbfeb
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.
unittests.cpp had become clang-tidy unclean, fixed.
2017-05-14 00:57:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1b59eff4a1
Set opcode limits for all the major compilers, and patched into travis. Closes issue #13 .
2017-05-14 00:30:30 +01:00