Commit Graph

769 Commits

Author SHA1 Message Date
Jenkins nedprod CI
3b77d322c1 Travis CI regenerates Boost.Outcome docs 2019-12-01 13:32:32 +00:00
Jenkins nedprod CI
0ba8ce6ba7 Merging commit ned14/outcome@7b24d3dd96:
Merged from develop branch as CDash reports all green
2019-12-01 13:32:18 +00:00
Jenkins nedprod CI
e7409b60f5 Travis CI regenerates Boost.Outcome docs 2019-11-30 16:58:37 +00:00
Jenkins nedprod CI
75145a9300 Merging commit ned14/outcome@fabd0e1b79:
Merged from develop branch as CDash reports all green
2019-11-30 16:58:23 +00:00
Jenkins nedprod CI
25d7b63446 Travis CI regenerates Boost.Outcome docs 2019-11-19 12:05:49 +00:00
Jenkins nedprod CI
faa742e125 Travis CI regenerates Boost.Outcome docs 2019-11-19 11:37:46 +00:00
Jenkins nedprod CI
4d06e51836 Merging commit ned14/outcome@1aae1b5b81:
Merged from develop branch as CDash reports all green
2019-11-19 11:37:32 +00:00
Jenkins nedprod CI
bc7ada0ea8 Travis CI regenerates Boost.Outcome docs 2019-11-15 16:37:43 +00:00
Jenkins nedprod CI
c1b095e3fc Travis CI regenerates Boost.Outcome docs 2019-11-15 15:52:59 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2771f423c1
Do the best we can on VS2019 16.3 with its very buggy Concepts implementation. 2019-11-15 15:44:04 +00:00
Jenkins nedprod CI
6f98fd98f8 Travis CI regenerates Boost.Outcome docs 2019-10-22 13:42:47 +00:00
Jenkins nedprod CI
bbd4e31869 Merging commit ned14/outcome@6d45806413:
Merged from develop branch as CDash reports all green
2019-10-22 13:42:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
335f009519
Travis script for boostified outcome wasn't actually testing anything. 2019-10-21 15:37:39 +01:00
Jenkins nedprod CI
13b3c657b2 Travis CI regenerates Boost.Outcome docs 2019-10-21 14:35:25 +00:00
Jenkins nedprod CI
0ccc10507a Merging commit ned14/outcome@1520386e4f:
Merged from develop branch as CDash reports all green
2019-10-21 14:35:11 +00:00
Jenkins nedprod CI
1fd64681b0 Travis CI regenerates Boost.Outcome docs 2019-10-17 10:16:26 +00:00
Jenkins nedprod CI
53ba0e5f46 Merging commit ned14/outcome@8a36a29e5c:
Merged from develop branch as CDash reports all green
2019-10-17 10:16:12 +00:00
Jenkins nedprod CI
b01882c80b Travis CI regenerates Boost.Outcome docs 2019-10-16 13:47:34 +00:00
Jenkins nedprod CI
19e52d769b Travis CI regenerates Boost.Outcome docs 2019-10-16 13:39:33 +00:00
Jenkins nedprod CI
4b60edd0ca Travis CI regenerates Boost.Outcome docs 2019-10-16 10:45:41 +00:00
Jenkins nedprod CI
a21cd71c05 Merging commit ned14/outcome@ae3b8de8b2:
Merged from develop branch as CDash reports all green
2019-10-16 10:45:28 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6303846bb8
OUTCOME_TRY operation now hints to the compiler that operation will be successful
: [P1886 *Error speed benchmarking*](https://wg21.link/P1886) showed that there is
considerable gain in very small functions by hinting to the compiler whether the expression
is expected to be successful or not. `OUTCOME_TRY` previously did not hint to the compiler
at all, but now it does. A new suite of macros `OUTCOME_TRY_FAILURE_LIKELY` hint to the
compiler that failure is expected. If you wish to return to the previously unhinted
behaviour, define `OUTCOME_TRY_LIKELY(expr)` to `(!!expr)`.
2019-10-16 10:26:35 +01:00
Jenkins nedprod CI
2f1d2baf25 Travis CI regenerates Boost.Outcome docs 2019-10-12 15:55:57 +00:00
Jenkins nedprod CI
a4b402088d Merging commit ned14/outcome@93017d8fdc:
Merged from develop branch as CDash reports all green
2019-10-12 15:55:44 +00:00
Jenkins nedprod CI
d47f4413f8 Travis CI regenerates Boost.Outcome docs 2019-10-11 16:11:01 +00:00
Jenkins nedprod CI
b13840fb38 Merging commit ned14/outcome@23a1077036:
Merged from develop branch as CDash reports all green
2019-10-11 16:10:48 +00:00
Jenkins nedprod CI
37153c194c Merging commit ned14/outcome@6bd06497ed:
Merged from develop branch as CDash reports all green
2019-10-11 16:10:47 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7d00633e23
Fix mistake in the trait requirements in yesterday's commit. 2019-10-11 17:03:05 +01:00
Jenkins nedprod CI
4467326ef5 Travis CI regenerates Boost.Outcome docs 2019-10-10 17:23:38 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
086ef6d04b
#210 make_error_code() and make_exception_ptr() are now additionally considered for
compatible copy and move conversions for `basic_result<>`. This lets you construct
a `basic_result<T, E>` into a `basic_result<T, error_code>`, where `E` is a
custom type which has implemented the ADL discovered free function
`error_code make_error_code(E)`, but is otherwise unrelated to `error_code`.
The same availability applies for `exception_ptr` with `make_exception_ptr()` being
the ADL discovered free function. `basic_outcome<>` has less support for this than
`basic_result<>` in order to keep constructor count down, but it will accept via
this mechanism conversions from `basic_result<>` and `failure_type<>`.
2019-10-10 18:14:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
be732f3c4f
Rename regression tests so their number is zero prefixed. 2019-10-10 16:26:57 +01:00
Jenkins nedprod CI
d547f941ca Travis CI regenerates Boost.Outcome docs 2019-10-10 12:43:49 +00:00
Jenkins nedprod CI
ebfff75212 Merging commit ned14/outcome@7fbbd01d56:
Merged from develop branch as CDash reports all green
2019-10-10 12:43:35 +00:00
Jenkins nedprod CI
b67c4fa3c4 Merging commit ned14/outcome@f98eb4f1e6:
Merged from develop branch as CDash reports all green
2019-10-10 12:43:34 +00:00
Jenkins nedprod CI
c97d4b4e43 Merging commit ned14/outcome@a856c4cf2f:
Merged from develop branch as CDash reports all green
2019-10-10 12:43:33 +00:00
Jenkins nedprod CI
43d1b19612 Travis CI regenerates Boost.Outcome docs 2019-10-09 16:57:51 +00:00
Jenkins nedprod CI
9e3b5f307c Travis CI regenerates Boost.Outcome docs 2019-10-08 17:31:33 +00:00
Jenkins nedprod CI
c4891afdcb Travis CI regenerates Boost.Outcome docs 2019-10-07 17:25:06 +00:00
Jenkins nedprod CI
4edd7061b6 Travis CI regenerates Boost.Outcome docs 2019-10-07 14:46:32 +00:00
Jenkins nedprod CI
a578704a50 Travis CI regenerates Boost.Outcome docs 2019-10-07 13:59:32 +00:00
Jenkins nedprod CI
6af4163a5a Travis CI regenerates Boost.Outcome docs 2019-10-04 21:20:22 +00:00
Jenkins nedprod CI
9884d91fc4 Travis CI regenerates Boost.Outcome docs 2019-10-04 20:00:42 +00:00
Jenkins nedprod CI
8439d05907 Travis CI regenerates Boost.Outcome docs 2019-10-04 15:06:05 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e8e275143a
Rename awaitable to eager, and task to lazy to meet most recent WG21 naming. 2019-10-04 15:58:37 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
89811697af
#199 Support for C++ Coroutines has been added. This comes in two parts, firstly there is
now an `OUTCOME_CO_TRY()` operation suitable for performing the `TRY` operation from
within a C++ Coroutine. Secondly, in the header `outcome/coroutine_support.hpp` there are
implementations of `awaitable<OutcomeType>` and `task<OutcomeType>` which let you more
naturally and efficiently use `basic_result` or `basic_outcome` from within C++
Coroutines -- specifically, if the result or outcome will construct from an exception
pointer, exceptions thrown in the coroutine return an errored or excepted result with
the thrown exception instead of throwing the exception through the coroutine machinery
(which in current compilers, has a high likelihood of blowing up the program). Both
`awaitable<T>` and `task<T>` can accept any `T` as well. Both have been tested and found
working on VS2019 and clang 9.
2019-10-03 18:35:31 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3e6aee14ce
Breaking change!
The git submodule mechanism used by standalone Outcome of specifying dependent libraries
has been replaced with a cmake superbuild of dependencies mechanism instead. Upon cmake
configure, an internal copy of quickcpplib will be git cloned, built and installed into the
build directory from where an internal `find_package()` uses it. This breaks the use of
the unconfigured Outcome repo as an implementation of Outcome, one must now do one of:

 1. Add Outcome as subdirectory to cmake build
 2. Use cmake superbuild (i.e. `ExternalProject_Add()`) to build and install Outcome into
 a local installation.
 3. Use one of the single header editions.
2019-10-02 17:52:11 +01:00
Jenkins nedprod CI
052f7cf71c Travis CI regenerates Boost.Outcome docs 2019-10-02 09:35:52 +00:00
Jenkins nedprod CI
ce7c220b67 Travis CI regenerates Boost.Outcome docs 2019-10-02 08:42:09 +00:00
Jenkins nedprod CI
17b378d03c Merging commit ned14/outcome@de7a715d3b:
Merged from develop branch as CDash reports all green
2019-10-02 08:41:57 +00:00
Niall Douglas
c15f61a640
Merge pull request #206 from cstratopoulos/patch-1
Fix Boost.System trait namespacing
2019-10-02 09:34:35 +01:00