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
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e0286392cf
Work around libstdc++'s broken std::string move assignment implementation
2017-01-22 16:36:10 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
6114009b1b
Hopefully finally building clean on all of GCC, clang and MSVC now.
2017-01-22 02:17:40 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7314cd743f
Restore clang 3.5 to working with the MSVC workarounds
2017-01-22 02:00:39 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
296e37d664
Fix memory corruption caused by new swap() implementation. All tests passing again yay!
2017-01-21 17:46:45 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8426c22efe
Relocate emplacement implementation into .ipp file
2017-01-21 16:18:55 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
42ee0cd0a0
Rolled back the templatisation of basic_monad's constructors and operators
2017-01-21 15:04:50 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b917d0ee13
Restored single byte storage packing support.
...
Now passes both Outcome and Expected test suites, though we are seeing memory corruption in the swap() implementation (TODO).
2017-01-20 18:18:23 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c4e545ffed
Substantially reworked how the constexpr variant storage is implemented. Compiling on all platforms, though failing its unit tests quite badly.
2017-01-20 16:43:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ebed2b62bb
Added the reference Expected implementation's unit test suite, adjusted only to match the current WG21 proposal text.
2017-01-19 15:43:25 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
a0888453c1
Add an implementation of LEWG's expected<T, E> refining basic_monad.
2017-01-17 17:18:35 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e96b5b320b
Break out new policy for a LEWG expected<T> implementation.
2017-01-17 14:22:00 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
69886c5ff0
upd
2017-01-13 16:47:59 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5a5dcf761e
Make submodules shallow cloned
2017-01-13 15:51:42 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
10c30bac35
vcpkg for boost.outcome looks to be working. Woo hoo.
2017-01-11 17:51:50 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
67b19a06a0
Rejig BOOST_OUTCOME_ENABLE_OPERATORS into BOOST_OUTCOME_ENABLE_ADVANCED
2017-01-11 12:09:19 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
46b5fdd470
Yet more tutorial
2017-01-11 11:55:29 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
4c5e8293eb
Tutorial update for today
2017-01-10 18:16:26 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1c3154bab8
Today's work on the tutorial
2017-01-09 16:24:16 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
86c0ec19da
upd
2017-01-07 13:43:39 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0a665e6337
Outcome had stopped working with LLVM clang :). Now tested per commit on Travis. Had to disable GCC 6 testing until launchpad fix their broken GCC 6.
2017-01-07 12:24:48 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f09382b820
Try again fix build breakage
2017-01-06 09:39:09 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d524ab553f
Fix build breakage
2017-01-06 09:28:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
30065d70ea
VS2017's C++ 14 constexpr is actually really good and finally let me dispense with the BOOST_OUTCOME_CONVINCE_MSVC forceinline hack.
2017-01-06 08:27:37 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fa4f9de7ae
Turn on use of C++ 14 constexpr on VS2017. Haven't tested it yet, it may work, it may not :)
2017-01-05 17:57:04 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
db86dcb390
Replace use of all BOOST_ macros with BOOSTLITE_ macros, this prevents Outcome colliding with Boost if included before Boost.
2017-01-05 17:50:25 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5739ef9a34
Use new, clean, warning free method of poking cmake to make code with exceptions disabled.
2017-01-04 16:22:05 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
68b52bd9f3
Worked around the new ICE in VS2017 RC 1
2017-01-03 08:35:58 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com
950eeac84f
Fix various build failures when compiling with Xcode 8
2016-12-31 01:23:04 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
db3b34e765
Theoretically at midnight from now on a script will check if all unit tests on develop are passing and if so will merge develop into master and put a tarball at dedi3. We shall see if it fires tonight!
2016-12-23 16:51:15 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
fe751faa0a
tutorial
2016-11-09 13:46:15 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9257a1bf8e
tutorial
2016-11-09 09:18:12 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c33ab1afe0
tutorial
2016-11-08 10:16:00 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
def15cb54d
More tutorial
2016-11-07 22:22:57 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2af6ab6f52
Added operators * and -> plus error() and exception() and inplace_t implicit construction to much more closely match Expected and Optional.
...
Replaced the BOOST_OUTCOME_FILTER_xxx macros with a new, much more simple BOOST_OUTCOME_TRY()
2016-11-07 18:01:51 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
05a02dc499
tutorial
2016-11-05 00:59:13 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f18d40b6d6
Tutorial cleanup
2016-11-04 19:31:02 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
099a689aef
More tutorial
2016-11-04 17:51:30 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8ed4cf5385
upd
2016-11-03 11:10:17 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0cb8835c71
Disable win32 error code mapping in prep for new custom error code categories
2016-11-02 19:50:02 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8a4f35b14b
Added a .clang-tidy config, and delinted the unit tests. Interestingly no lint found in the headers at all which was a surprise.
2016-10-30 01:41:57 +00:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f35c849adc
Made a start on proper documentation for Outcome.
2016-10-29 19:17:36 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b2f160eec4
Full unit test suite now passing on GCC 6.2 with exceptions disabled.
2016-10-28 23:31:25 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0757aa9766
Make entire outcome unit test suite now run with RTTI and exceptions disabled using the new boost-lite very lightweight Boost.Test emulation (it worked first time, I am very proud).
...
Split out all the throws of exceptions into individual macros so each can be customised.
When exceptions are disabled and outcome is about to throw, dump a stacktrace just before terminating the process.
2016-10-28 17:51:04 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
ccafdb74a8
Move Outcome to using new boost-lite very lightweight unit test framework
2016-10-28 14:38:18 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7db1d3368a
upd
2016-10-08 00:52:31 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
03272598be
Outcome now works well with C++ exceptions and RTTI disabled. It actually always did, but now there is a unit test and its documentation says it works.
2016-10-08 00:47:56 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e95fe0eb13
upd
2016-09-21 17:26:03 -07:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bd8560354c
upd
2016-09-21 15:37:17 -07:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
bbf2bbafa5
upd
2016-09-21 11:28:42 -07:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
33b8449a8d
Made Outcome C++ Modularisable
2016-09-20 11:16:06 -07:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e89ef89a0a
upd
2016-09-06 17:46:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d1a43e5e86
upd
2016-09-06 09:30:53 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b925ad5004
upd
2016-09-05 09:17:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
92c9863a28
upd
2016-09-04 20:13:34 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
857a0118f5
upd
2016-08-28 19:58:50 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f3a3c667b1
upd
2016-08-26 23:22:28 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7838f3fd5b
Fix bad pickup of sibling boost-lite. Fix spurious warnings on MSVC.
2016-08-26 20:59:40 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1f859b64fe
upd
2016-08-25 22:01:01 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5a79437433
upd
2016-08-24 23:34:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9b7793111e
Workaround cmake failure in cmake 3.2 due to a bug in cmake
2016-08-24 14:45:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
96815a8e3a
upd
2016-08-23 21:34:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cc0555b91c
Fixed the VS2015 outcome debug visualisers which had become stale.
2016-08-22 21:08:27 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2723fb5262
Relocate valgrind instrumentation into boost-lite.
2016-08-21 21:22:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
9d814df7a0
Prevent monad.set_exception(E &&) being available if monad has no exception type.
2016-08-19 20:54:08 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
876acd5d1d
upd
2016-08-18 20:35:26 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
058f256343
upd
2016-08-17 20:36:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
300de74f0e
upd
2016-08-17 11:32:22 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
e928c35655
upd
2016-08-14 19:04:55 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b561f3d05f
Fixed bug where outcome<void> did not have a noexcept copy and move constructor. Moved .natvis next to its header file.
2016-08-14 16:19:48 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
1c7feef5d4
Enable MSVC workarounds for latest MSVC
2016-08-13 18:59:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
39b9e6384b
upd
2016-08-11 10:10:41 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7fb9617c21
upd
2016-08-10 07:57:04 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
abffb1eea1
upd
2016-08-10 07:52:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b525832007
upd
2016-08-07 17:03:40 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
943b23722a
Updated docs
2016-08-07 17:02:11 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2165872a8b
Began merging the latest tooling improvements from AFIO into Outcome
2016-08-06 20:10:53 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
adaf1a6255
upd
2016-08-04 09:28:00 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
782dfbe81a
upd
2016-07-27 08:55:44 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
02a8730835
upd
2016-07-27 07:30:44 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d96e8c5af7
upd
2016-07-26 09:24:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
06e2a332f3
upd
2016-07-22 09:34:00 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
7b24d1bb5c
upd
2016-07-21 15:09:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3fb115b3b0
upd
2016-07-20 13:41:02 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f724e3c296
upd
2016-07-20 09:13:57 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
cff6e8a160
upd
2016-07-20 08:47:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
0402563a9a
Now working on GCC with precompiled headers, both embedded and sibling configurations.
2016-07-19 13:38:20 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
db07076ec1
upd
2016-07-19 13:04:14 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
69f2aec785
Moved Outcome over to fully use the new boost-lite cmake infrastructure, adding per-commit namespace permutation, C++ Modules support, embedded or sibling pickup of the boost-lite dependency.
2016-07-19 08:40:12 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
5e0a09d077
Merge branch 'master' of github.com:ned14/boost.spinlock
2016-07-18 09:33:05 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
40d724c6e8
upd
2016-07-18 09:32:47 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
c6ed263e02
upd
2016-07-17 23:21:10 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2dbbf7c492
wip find_boostish_library()
2016-07-17 23:18:43 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
b5fc6ac6ef
upd
2016-07-16 15:49:19 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
f0036bd7a4
upd
2016-07-14 16:43:31 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
8d2b6c2968
Travis and appveyor now use cmake
2016-07-14 16:36:06 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
2b5a4a1937
Got Outcome working with precompiled headers on GCC
2016-07-14 16:15:09 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3c53e3818e
Outcome now working very well on Windows and Linux with boost lite cmake tooling
2016-07-14 12:20:27 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
680648945d
wip
2016-07-12 09:11:23 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d9a2d5f95f
Brought in the new cmake tooling from afio
2016-07-12 08:48:08 +01:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
3a3cc0321e
upd
2016-07-09 21:31:04 +01:00