Commit Graph

979 Commits

Author SHA1 Message Date
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
076cdf85ad
Fix issue #96 whereby the SFINAE on the iostream operators wasn't working right on libstdc++ 2018-01-14 02:44:32 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
823f933870
Fix reference docs for all_narrow policy (issue #81) 2018-01-12 09:19:51 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c3459a7a28
Fix regression where comparisons to failure_type was aborting the process. 2018-01-11 09:38:52 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3e0b8ca28f
Made operator<< and operator>> SFINAEd on whether underlying types provide said operation. 2018-01-11 09:30:27 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1b054d71a3
Tell standardese about all the detail files too (issue #94) 2018-01-10 19:18:43 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9b39b9894a
Serialisation of results containing error_code no longer permitted (issue #84) 2018-01-10 19:02:14 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
286f98daf5
Remove the proposed WG21 result reference implementation 2018-01-10 18:51:28 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
62ab35a6b4
Purge the deduced template editions of success/failure sugar types, and eliminate remaining API compatibility with them (issue #93) 2018-01-10 09:54:34 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d8c72ccb0e
Fix issue #95 (operator conversions on E type cause TRY to fail) 2018-01-10 09:24:42 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c1aec03d7a
Fix issue #88 (template parameters don't follow the same style) 2018-01-09 19:04:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c62d4077fe
Rewrote outcome's class reference description entirely, the old one was utterly stale beyond belief (issue #81) 2018-01-09 09:49:49 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
be90652520
Removed no_value_type, no_error_type and no_exception_type (issue #81) 2018-01-09 09:18:07 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7fb6645aa3
Fix issue #84 (Document (de)serialization of result) 2018-01-08 19:19:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3d0a4ad58a
Fix all appearances of enable_if in docs (issue #76) 2018-01-08 18:56:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6f46045b95
Fix appearance of internal macros in docs as mentioned in #82 and #81 2018-01-08 09:38:43 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dc107a803a
Got the C API exposed in the reference docs 2017-12-14 18:57:08 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
aa42e3db58
Updated tutorial to link into new outcome reference api docs 2017-12-14 09:20:26 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e624ab4541
upd 2017-12-14 08:14:38 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
11ff0b71a3
upd 2017-12-11 09:54:11 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
061bd25fff
Replaced standardese munge shell script with a much improved python one. 2017-12-08 18:33:20 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com
89fe53ce26
Update with fancy new Markdown docs. Thank you @foonathan! 2017-12-07 19:00:00 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c91a233cea
upd 2017-12-06 20:53:46 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
388d38aeb7
upd 2017-12-06 09:49:05 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
574ff03333
upd 2017-12-05 22:10:28 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bccc353a33
Refresh standardese docs 2017-12-02 16:23:11 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4c506a702b
Fix missing include 2017-11-27 13:19:18 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5d7494b957
upd 2017-11-27 13:00:41 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
efa8f0b1f7
Fix issue #73, also enable try_throw_std_exception_from_error() to take an optional custom message. 2017-11-27 12:52:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c4c430a5e7
Fix bug where make_exception_ptr() was being called too early. 2017-11-27 12:50:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f6ae4350b4
upd 2017-11-20 13:32:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b3dc2b0c4f
Fix issue #72 (it was actually already fixed, but the docs were wrong, fixed) 2017-11-20 13:25:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4b73d02e43
Update reference docs 2017-11-18 17:24:15 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
46df77dd1c
Update API docs to reflect implicit conversion requirements. 2017-11-18 16:51:27 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
019be36e9d
Fix failure on clang 2017-11-18 13:26:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4ee19b706c
Fix issue #71 2017-11-18 13:17:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
12ef22006f
Replace is_same_or_constructible with is_explicitly_constructible 2017-11-18 12:51:30 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
84ea811ace
Added unit tests for issue #71 2017-11-18 12:44:47 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6ed238cd18
Finished the tutorial I think?
Fixed build regression on GCC.
2017-11-16 21:31:08 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
194bd7c36e
ValueOrError support is finally compiling and working on all platforms and compilers! 2017-11-15 19:00:23 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ab1683ef16
Fix build regression 2017-11-15 12:00:41 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7c8eaaa0c8
Added tutorial section on new ValueOrError support. 2017-11-15 00:17:50 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0dc0cdc91b
ValueOrError concept support finished. 2017-11-14 15:48:57 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dbeaed2068
Restored the old converting constructors 2017-11-11 12:35:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c542429b09
Implement construction from anything matching the ValueOrError concept 2017-11-10 22:41:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7393ce92b1
Rename try_throw_exception_from_error to try_throw_std_exception_from_error 2017-11-09 17:37:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e9dfe7cabf
Fix issue #69 (execinfo.h doesn't exist on Android) 2017-11-06 01:11:17 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8ee8cd4467
Reworked the hook support somewhat. Wrote the snippet for the final tutorial section. 2017-11-03 03:23:23 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1f510e8055
Finished tutorial section on builtin policies 2017-10-31 17:54:44 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d36cbf7c9e
Apply solutions to Arthur's feedback: (i) have filesystem_error thrower not throw all failures through filesystem_error (ii) make declaration of throw_as_system_error_with_payload() mandatory for custom EC types. 2017-10-31 02:44:59 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
091a983ae0
Updated standardese docs 2017-10-28 02:27:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4a07a87ece
All unit tests now passing with refactored library 2017-10-28 01:57:53 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bef2b1df89
In theory, outcome is now purged of all payload support. core-result and core-outcome tests pass, next step is the rest of the test suite. 2017-10-28 01:31:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2f5dedb84c
Made a start on purging payload support from outcome 2017-10-27 01:59:25 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a5599e5112
Ok, I think result is now fully ported over to the new payload capable design. Now just need to purge outcome of payload support. 2017-10-27 01:20:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
63553475b1
wip in getting result to throw with payload. 2017-10-26 03:44:58 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8b5d849717
First step of refactoring payload out of outcome and into result complete. 2017-10-26 01:41:25 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a0e6c8224e
Fix CI failures 2017-10-21 00:36:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0a13d5ae8e
Started tutorial section on constructors 2017-10-20 18:57:40 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e054470a5c
Added tutorial section on the C API 2017-10-20 02:06:07 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
584013d042
Finished the tutorial section on default actions. 2017-10-19 01:56:42 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
993efbdecd
More tutorial 2017-10-18 18:39:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1a6a8ddee6
Fix build breakage on clang 2017-10-18 14:08:24 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
67fcb49243
wip policies tutorial section 2017-10-18 04:29:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e368a09e52
Yet another round of clang-tidy. Now is completely clean. 2017-10-18 03:29:25 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
be12789232
Second round of clang-tidy automated fixes 2017-10-18 02:50:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
59a675096e
First round of automated clang-tidy fixes 2017-10-18 02:36:39 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
19168b8c2b
wip tutorial section on policies 2017-10-18 02:26:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f3730a95dc
Restored testing of Outcome with C++ exceptions and RTTI disabled. Fixed minor build regressions when C++ exceptions are disabled. 2017-10-17 23:20:53 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
887e8051dc
Tutorial landing page is now calculated by Hugo with page summaries.
Doc snippets are now tested when building docs on Travis
2017-10-17 22:41:15 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
250fe74b7d
cmake now adds targets for the source code snippets in the docs.
Added new section to the tutorial explaining how to use the payload outcome edition.
2017-10-17 02:53:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b27c9248bd
Documented the default policy selection for outcome. Regenerated reference API docs. 2017-10-17 00:58:49 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
817043f438
Finished off implementing the outcome policies. 2017-10-16 23:51:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4e4b43125f
Refrshed API reference docs 2017-10-13 23:55:29 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
914d8d55b7
Updated Readme's changelog as the old one was stale.
Replaced error_code and exception_ptr detection with overridable traits.
2017-10-13 23:16:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
68c1e20761
Added in test set of standardese docs 2017-10-11 22:01:41 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7809f2c4d4
Various standardese related fixes and cleanups 2017-10-09 22:59:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cd7e2de410
Added repro for issue #65 to test suite, yet it appears to pass perfectly on MSVC at least. We'll see what the CIs say. 2017-10-09 15:34:35 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
34b86bd6d8
Temporarily place a set of doxygen dumped reference docs into the Outcome docs website for others to use whilst we work upon Standardese. 2017-10-07 00:45:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6db1f3501a
Finished fixing up the reference API docs for OUTCOME.
Broke out the parameter requirements into a template bool and generalised across result and outcome.

Purged the last of the status test code from the test suite.

Tried getting template deduced success/failure working, but also blows up on clang :(
2017-10-05 02:40:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0141101e3c
Fix bug where errno bit wasn't being set 2017-10-04 00:19:46 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d86cfe3b94
Added docs for C11 macro API 2017-10-03 23:57:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
be042a90c7
Fix failure to compile on clang 2017-10-03 22:00:04 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
82e85374c7
Broke up outcome.hpp into many constituent files. 2017-10-03 03:19:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4c8a079d34
Permit relaxation of implicit constructors disable only when error type is one of the common error types 2017-10-03 02:51:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ce4b2d6ae8
Fixed up the reference docs for result at least. Purged the last of the status support. 2017-10-02 02:10:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fb6e92d515
Broke result.hpp out into many separate files for easier compartmentalisation.
Stripped the status support from result, added unchecked<T, E> typedef
2017-10-02 01:22:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4c9b5af8f6
Script converted Outcome seems to fail with clang 4.0, try clang 5.0 2017-09-29 00:02:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7153efbe6c
Lots of small fixes to make a fully working scripted Boost conversion. 2017-09-28 22:32:27 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b23d6ed701
Cleared all remaining warnings on MSVC 2017-09-28 02:10:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cc8e589b54
Added FAQ entry on Outcome's checked<T, E> vs expected<T, E>.
Disabled expected_pass on GCC 6, it won't compile it.
2017-09-28 01:56:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
04638284bf
expected_pass was actually quite broken, fixed. 2017-09-28 01:02:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7d8ee1bbc0
Fix breakage from previous commit. 2017-09-28 00:40:15 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
10d139b959
Added in the WG21 Expected reference test suite with an emulated Expected shim. 2017-09-27 23:55:26 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6089de5475
Fix docs warning 2017-09-26 00:03:18 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
27933fe915
upd 2017-09-24 19:33:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c357b6d441
Fixed Appveyor 2017-09-24 15:20:18 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
84b407e566
Fix appveyor 2017-09-24 04:57:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
19866bfa4d
Try forcing the ctest build generator 2017-09-24 04:50:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
669ff92dde
upd 2017-09-24 04:34:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cbff53a487
Appveyor use VS2017 2017-09-24 04:24:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9e19316479
Lots of VS2017 related warnings fixes 2017-09-24 04:16:46 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0fdf8f24f7
Restore Visual Studio support. Many, many, many thanks to @jamboree for telling me the workaround for the ICEs. 2017-09-24 03:45:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
315adcb159
upd 2017-09-10 00:40:03 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b55ea26b7f
upd 2017-09-04 20:43:42 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3bca6a7265
upd 2017-09-04 01:53:04 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b727b29045
upd 2017-09-04 01:01:36 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
75c97260e2
Fix bad HTML subrepo ref 2017-09-04 00:14:46 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2dc6a3e0a1
Fix cmake failure on older cmake 2017-09-04 00:08:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e147ff174c
upd 2017-09-01 00:51:57 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2da708b9ce
upd 2017-08-31 01:22:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a9c862a110
upd 2017-08-31 01:09:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
adf5402d3e
upd 2017-08-28 13:29:31 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2c2f7b1f1b
upd 2017-08-27 02:53:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
63c456cb93
Fix build regression on CI. 2017-08-27 02:28:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5186c9b29d
upd 2017-08-27 01:20:42 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7e716e8169
Fix issue #64 OUTCOME_TRY on excepted outcome is propagating a null error rather than just an exception 2017-08-26 20:48:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f863d85ca2
upd 2017-08-26 02:49:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dd7adfb791
upd 2017-08-26 02:24:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6f8103b0df
Fix bug where ADL hooks were not being called for the master in place delegating constructor. 2017-08-26 01:56:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9e97c384f5
upd 2017-08-25 19:03:26 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6f64d8442d
Working once again on MSVC, albeit their internal unreleased version. Thanks to Microsoft for supplying a fixed compiler to me! 2017-08-23 21:10:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
10a52a466b
outcome::as_failure() was doing UB, fixed. 2017-08-23 00:28:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
22d80e68ee
outcome::failure() was not being enabled correctly, fixed.
iostream printers for outcome were next to useless, fixed.
2017-08-17 14:55:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3080f558b6
upd 2017-08-17 00:28:25 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
89dc614719
Changed how quickcpplib is found by the build system 2017-08-16 22:25:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d5af8b23e0
upd 2017-08-16 16:12:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bfa6ce75ed
upd 2017-08-16 16:01:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6590712560
upd 2017-08-16 03:08:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3b55da4914
upd 2017-08-14 23:24:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
08ad8c08f7
Turns out issue #59 was not actually fixed. Fixed now. Thanks Andrzej! 2017-08-09 23:37:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
20c995dc72
Workaround bug on clang + libstdc++7 2017-08-06 02:13:08 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3f45dc24f7
Fix bug introduced in last change where result<bool> and outcome<bool> were seeing their implicit constructors disable. 2017-08-06 01:21:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f25691150d
Fix warnings. 2017-08-05 17:42:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
685ba575d7
Added error_is_errno status flag used to indicate when error code can be treated as errno.
outcome's comparison functions were completely wrong, fixed.

outcome::result now matches WG21 reference result in behaviours.
2017-08-05 16:49:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2dadef712d
Added WG21 reference implementation of result 2017-08-05 02:05:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8d7ddc8960
Fix warnings. 2017-08-04 00:45:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3c722e217a
upd 2017-08-04 00:21:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a5b271ea67
Update synopses for docs 2017-07-31 18:13:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
068da34b73
In iostream printers, print the error code message if E is an error_code 2017-07-31 02:12:49 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b12a80801d
upd 2017-07-29 03:26:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
799ef71be1
Added void overloads for print() 2017-07-29 01:59:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cb6b70d8e8
Implemented issue #61 for outcome as well. 2017-07-29 00:34:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9f79eb40ad
Fix issue #61 where comparisons between dissimilar results was failing to compile.
Also fixed bug where serialising result<void> failed to compile.
2017-07-28 23:59:31 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cd60cf7fe6
Try again to fix regression 2017-07-28 02:28:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8207e4a16f
Fix to the previous commit failing. 2017-07-28 02:10:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b513914b18
Hack around failure to convert from T = void 2017-07-28 01:33:48 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5d76329493
Quite a few regressions had occurred, these are now all fixed. Also back to being clang-tidy clean. 2017-07-27 23:59:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dca55f6fdb
Fix major bug where trivial copy or move assignment on a non-trivial type was causing compile failures. 2017-07-27 03:39:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bd74371168
Formalised the hook API properly. 2017-07-24 02:07:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4be3573b25
Fix incorrect find of sibling libraries. 2017-07-21 00:43:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
832e98a684
Fix bug where default construction of T was not occurring when it should. 2017-07-20 12:17:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0441fe3ee5
Added a test for issue #59 (result<NonMovable> supported?) 2017-07-20 01:11:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
df81e462f2
Added success/failure type sugar to outcome which should complete issue #60 2017-07-20 00:26:18 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c403a43a1b
Added success/failure type sugar to result (issue #60) 2017-07-19 19:14:59 +01:00
Andrzej Krzemienski
5e89881caf docs: described inspection of result<> 2017-07-17 22:11:17 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8119d445d6
Significantly improve support for LLVM-vs2014 toolset 2017-07-15 18:11:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5994e62e26
Some refinements which popped out during the AFIO upgrade. 2017-07-14 12:20:44 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ebf7157de3
Restore missing timing.h for Emil. 2017-07-14 10:48:51 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3ba908da3c
Try out the latest VS2017.3 beta 2017-07-13 18:14:41 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e7f487c3f6
Fix issue #57 (Single-header implementation doe not compile) 2017-07-13 15:35:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
837a96773a
Implement issue #56 (Consider multi-argument converting parameters rather than single argument) for outcome as well. 2017-07-11 23:05:30 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
39c0e7c7bd
Implement issue #56 (Consider multi-argument converting parameters rather than single argument) for result. 2017-07-11 22:04:49 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
aa06ab8d8b
Add auto generated single header edition of outcome (issue #55) 2017-07-11 01:28:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ac2d9496a9
Added a synopsis 2017-07-10 02:51:40 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9d2989fd26
Finished replacing all SFINAE with Concepts 2017-07-09 20:56:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
738babc8c6
Implemented issue #50 (Add set_error_from_exception(std::exception const& e, std::error_code_extended not_matched = std::errc::resource_unavailable_try_again)) 2017-07-08 03:19:37 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0f8b003aa1
Replaced all the SFINAE with Concepts TS, at least everywhere except for outcome.hpp. 2017-07-08 02:43:16 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
47b17f27c4
Last of the v1 test suite ported over to v2. 2017-07-07 02:36:52 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1737b49b57
Optimised swap is implemented. 2017-07-07 00:08:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
00f2c2a614
All but two of the v1 tests converted to v2 2017-07-06 21:42:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9b98e949f9
Added Andrzej's customisation point for TRY 2017-07-06 20:48:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1e5876f0fa
Turns out copy and move simply weren't implemented for non-trivial types. Fixed. 2017-07-06 02:25:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d3ab675514
Substantially improved the error_code_extended example. Hopefully fixed OS X compilation failure. Various other small fixes. 2017-07-06 01:57:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8ae74f9daa
travis 2017-07-06 01:08:52 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a5213771d7
Get travis using much newer compilers 2017-07-06 00:13:17 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c9e8c1da15
upd 2017-07-05 22:48:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cd09c527f6
Fix deleted header 2017-07-05 22:24:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ffd7172558
Wrote up a code example of how to implement extended error code info. 2017-07-05 22:15:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5880ba44d1
Reenable Travis per commit testing. 2017-07-05 22:01:52 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
15bd6f262e
Implemented hooks. Working well. Yay. 2017-07-05 18:33:26 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7b803c4607
Relocated detail into detail/value_storage.hpp 2017-07-05 11:54:03 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8ef842bc80
Implemented the try operations from Outcome v1. 2017-07-05 02:52:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8769b8b884
containers unit test is passing. 2017-07-05 01:14:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7c8be75127
Merged the prototype test suite into the v1 ported test suite.
constexpr unit tests are now working.
2017-07-05 01:08:35 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
05a0085738
Comparison unit tests are passing now. 2017-07-05 00:44:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
156a315631
Added compile-fail test support to quickcpplib, and thence a few compile fail tests. 2017-07-04 23:23:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fcfab41660
Basic unit test is now passing with Outcome v2 2017-07-04 03:35:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e1e0e10bf7
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. 2017-07-03 01:45:41 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7f351d7db8
Moved v1 headers into attic 2017-06-30 20:19:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8b30972033
Reorged test and includes for v2 2017-06-30 20:16:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5530bc3300
Outcome v2's converting constructors appear to be essentially done, so time to strip out the old implementation and put in this one. 2017-06-26 18:41:49 +01:00
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
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
afe3341d53
Got started on v2 outcome 2017-06-23 19:02:12 +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
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
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
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
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
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
523ab525f1
Fix failure to find ctest scripting. 2017-06-14 19:54:57 +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)
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)
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)
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)
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)
4d9e404fb0
Did another pass of the docs. Very close to peer review ready now. 2017-05-11 01:09:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9274c0d423
Fix issue #10 Expected's operator->(), operator*() and .error() throw exceptions when they should not 2017-05-10 20:35:33 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1f15abd510
Work around bug in older clangs triggered by last commit 2017-05-09 16:07:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
daa5d0f4f3
Implement expected<T, E>::get_unexpected(), which had been missing. 2017-05-09 15:31:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
202fba16fb
Converted enable_single_byte_value_storage to be a template variable.
Replaced the global BOOST_OUTCOME_ALLOW_THROWING_MOVE_TYPES macro disable with per type disable via enable_move_throwing_type<T>.

Fix an ambiguous resolution of make_expected_from_error.
2017-05-09 13:03:58 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
baedd98e5c
Clarify the message given when you try using types without nothrow move construction. 2017-05-08 16:47:14 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
665323b7f6
Add static checks for using a value_type, error_type or exception_type which throws during move 2017-05-07 23:50:15 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bfab416f18
Fix mistake in tutorial A 2017-05-05 13:07:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e61950908c
Update docs to reflect discussions with Vicente about Expected, and reconciliations of the defect list I sent him. 2017-05-05 12:56:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
82ed820d0a
Added ACCU conference video to tutorial 2017-05-03 01:02:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
48864a7c88
Relicenced all code to be dual Apache 2.0 or Boost licence 2017-05-03 00:46:32 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d391aee432
Use cmake namespaced target aliases for indicating dependencies between libraries 2017-04-28 14:29:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fab3eead1b
Merge branch 'develop' of github.com:ned14/boost.outcome into develop
# Conflicts:
#	include/boost/outcome/revision.hpp
2017-04-27 16:29:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
78115184bb
Work around lack of dependency tracking with Makefiles and Ninja 2017-04-27 16:27:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2a82d14fb2
Have an attempt at a BOOST_OUTCOME_TRYX(expr) expression behaving try operation, implementing issue #9. 2017-04-18 10:48:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
76042598dc
upd 2017-04-16 00:50:38 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f1fab55299
upd 2017-04-15 13:10:21 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f0de9b1da5
upd 2017-04-14 22:20:29 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ee6f2df804
Update todo list 2017-04-14 08:35:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1841848797
Merge branch 'develop' of github.com:ned14/boost.outcome into develop
# Conflicts:
#	include/boost/outcome/revision.hpp
2017-04-12 23:45:29 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b120ecef17
upd 2017-04-12 23:44:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
953e3a062c
Fix build failure on GCC 5 2017-04-12 11:36:37 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e28beaa7af
upd 2017-04-10 23:05:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
df4468529a
upd 2017-04-09 23:09:59 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e437da0d76
Merge branch 'develop' of github.com:ned14/boost.spinlock into develop 2017-04-09 14:55:36 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0dc8cc8216
Add a note to the docs for make_errored_*(ErrCondEnum). 2017-04-09 14:54:18 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
90b397d29a
upd 2017-04-08 23:53:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2018274cde
Forgot to regen the preprocessed edition 2017-04-08 22:43:44 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1ef1c6804d
Stop showing permuted boost-lite SHA in doxygen 2017-04-08 22:42:51 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ad136750f6
Add make_errored_*() overloads for error conditions 2017-04-08 11:01:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
25e89e4c45
regen pp header 2017-04-06 14:46:45 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c9eb55a474
BOOST_OUTCOME_CATCH_EXCEPTION_TO_RESULT wasn't tagging with valueless either 2017-04-06 14:41:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0b332aea8a
Fix overstrict valueless constructor 2017-04-06 14:14:13 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
91c8eb0814
valueless_t tagging now working and issue #7 should be fixed 2017-04-06 10:57:52 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
430d9c10dc
wip for issue #7 2017-04-06 09:49:54 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
748e7bab1a
upd 2017-04-04 23:03:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
008026f921
upd 2017-04-04 22:55:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1a95acaef5
Add BOOST_OUTCOME_TRYV() macro 2017-04-04 22:23:37 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1772bbfbc8
Clarify empty braced init semantics 2017-04-04 21:54:30 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dfdbe1f091
Docs fix 2017-03-30 15:26:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
dea2c55e07
Rename all make_ready_* to make_valued_*. Thanks to Andrzej Krzemienski for spotting the problem. 2017-03-30 12:53:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
27cb8b799a
Implement more of Andrzej's feedback 2017-03-29 08:07:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9599e0fed5 Remove the hard dependency on python ply for build. 2017-03-23 14:34:01 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
95eb507b7c
Fix missing images in FAQ on web based docs 2017-03-23 11:09:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f370bd6473
Fix failure to regenerate preprocessed edition as needed 2017-03-21 00:15:38 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f291beed5f
Upgraded the MSVC workarounds to understand VS2017 RTM.
Fixed all breakage and warnings in all examples etc for VS2017 RTM.
2017-03-20 23:51:29 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8f7c9ae7e6
Use a pre-processed edition of Outcome for the most common build config. 2017-03-20 16:53:00 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
63eb074214
upd 2017-03-20 00:41:19 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9a4bc9fca7
Add FAQ entry on ABI stability promises. 2017-03-15 16:54:36 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e3bc60d429
Resurrected my old very custom clang format plugin for visual studio, forced it into vs2017 against its will and did a clang-format pass on all the source files. 2017-03-14 19:51:23 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
520b8af6f3
Fix build breakage 2017-03-13 15:57:49 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7525b18392
Restamp the SHA of the docs to latest. 2017-03-13 15:50:30 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
594da2d2b3
Disabled the ability to include Outcome in multiple configs in the same translation unit. pcpp can't grok that use pattern snd so was reincluding the config many times over, thus causing doxygen to generate duplicates of the same docs. Thanks to Andrzej Krzemienski for reporting this. 2017-03-13 15:19:00 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
32435fb60e
Have cmake rebuild the preprocessed doxygen input every build
Fix the terrible looking doxygen page for the boilerplate macros. Thanks to Andrzej Krzemienski for reporting this.
2017-03-13 14:59:43 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
96421f5e3a
travis 2017-03-13 01:58:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0b5fe1ab84
travis 2017-03-13 01:54:24 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
93787ade0a
Revert bad merge 2017-03-13 01:48:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4f9816b580
Add missing docs for the policy classes 2017-03-13 01:41:17 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5b9713b28a
upd 2017-03-13 01:07:46 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a97cd62c79
Fixed the problem of lack of constructors in the faked outcome/result/option/expected. 2017-03-13 00:26:09 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2ecd192e1e
Use pcpp to preprocess Outcome into a form which doxygen can cope with. 2017-03-12 23:57:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0219b4ff67
Added more help for doxygen to generate actually usable docs 2017-03-11 00:44:56 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
554ab592b3
Relocated the policy classes out of namespace detail into a new namespace policy in preparation for getting doxygen to generate some actually useful reference docs. 2017-03-10 22:53:45 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
eade949002
Fix failure to compile doc examples on clang 3.5 and 4.0 2017-03-01 22:48:44 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
01320023d0
I think I've finished the tutorial! 2017-03-01 17:47:24 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d903e1f174
Fixed a bug where a less representative void transport was not implicitly converting into a more representative transport. 2017-03-01 16:40:14 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f222d4ee28
Docs should build properly now. 2017-02-27 23:32:12 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4e1a096735
Added side by side use example of Expected vs Outcome 2017-02-27 23:09:10 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a24c020561
Rewrote part B of the tutorial to match feedback from Reddit 2017-02-03 15:46:48 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2e727393e0
Broke monad.hpp into separate include files, did a fair bit of purging legacy and unused code whilst I was at it. 2017-02-03 11:02:02 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
71efed5698
Fix broken code bloat tests 2017-02-02 19:37:29 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
47ee7ea693
Lots more tutorial part C 2017-01-28 18:22:38 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
98522e4154
Hopefully finished tutorial part B. 2017-01-27 14:18:34 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bca11ff64c
More third attempt at tutorial 2017-01-25 13:27:10 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ef412a2a54
Get the expected example compiling. 2017-01-24 12:13:33 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
39b41d1d9b
Third time writing this blasted tutorial for Outcome. Part A at least. 2017-01-23 18:33:27 +00:00