489 Commits

Author SHA1 Message Date
Denis Blank
b5f353222c Make it possible to add optional methods to continuable_base depending on the annotation 2018-12-08 03:28:33 +01:00
Denis Blank
f5dd02ef8b Some documentation fixes 2018-12-08 02:53:33 +01:00
Denis Blank
969445c8a0 Fix the build 2018-12-08 02:40:10 +01:00
Denis Blank
577b71b8ab Remove the template args from the void make_ready_continuable 2018-12-08 01:28:27 +01:00
Denis Blank
b293d9a342 Adapt the small functor capacity to hold a ready continuable at zero cost 2018-12-08 01:26:14 +01:00
Denis Blank
da8ec15c6f Some minor improvements 2018-12-07 04:46:18 +01:00
Denis Blank
62ca39e59c Some renaming 2018-12-07 04:40:03 +01:00
Denis Blank
f17cc4073c Add the is_ready proto 2018-11-30 03:05:18 +01:00
Denis Blank
7a5bde328c Unify the exception and result invoker 2018-11-30 03:04:55 +01:00
Denis Blank
7352cbf8a9 Make it possible to continue with a continuable from failure handlers 2018-11-30 02:10:05 +01:00
Denis Blank
4d58e3bded Attempt to fix the GCC build 2018-11-28 17:55:01 +01:00
Denis Blank
1edd1e633d Fix the unit tests 2018-11-28 17:00:35 +01:00
Denis Blank
70c716bb28 Make the failure handler partial applyable
* Make result C++17 destructible
* Add unit tests
2018-11-28 01:29:36 +01:00
Denis Blank
bb7112eec2 Fix the build 2018-11-27 16:38:24 +01:00
Denis Blank
f1f9d61952 Attempt to remove the plain handler 2018-11-27 02:39:41 +01:00
Denis Blank
b77e926c41 Fix the unit tests 2018-11-26 04:37:48 +01:00
Denis Blank
812420cf06 Unify the exception and result handler
* Make the failure handler partial applyable
2018-11-26 04:15:40 +01:00
Denis Blank
a9375c7f22 Implement the exception invokers which fully implements recover, rethrow and cancel now 2018-11-26 04:12:17 +01:00
Denis Blank
ca1c0bf1da Split the logic for exception forwarding 2018-11-26 03:27:35 +01:00
Denis Blank
82dd47b463 Cleanup the unit tests 2018-11-26 03:21:01 +01:00
Denis Blank
c5663bf1ad Add the unit tests for the failure handlers recovering and rethrowing 2018-11-26 03:02:49 +01:00
Denis Blank
afe1a3298e Make the current unit tests pass 2018-11-26 02:35:27 +01:00
Denis Blank
9955f9e469 Add the invoker for result<...> 2018-11-26 02:19:16 +01:00
Denis Blank
ba9ff9fce0 Initial work on routing the arguments correctly when using result<...> 2018-11-26 00:41:15 +01:00
Denis Blank
7767ce6fbb Only provide value_t from result 2018-11-25 21:31:08 +01:00
Denis Blank
67964b0793 Attempt to fix the clang build 2018-11-25 20:43:14 +01:00
Denis Blank
41da6ba293 Remove the is_result trait 2018-11-25 20:00:41 +01:00
Denis Blank
cd367b3d43 Make result<> return void when calling get_value() 2018-11-25 19:56:03 +01:00
Denis Blank
5354d3512e Fix the MSVC/Clang build even more 2018-11-25 18:01:15 +01:00
Denis Blank
2a80649084 Make exception and empty results returning a void hint 2018-11-25 17:14:23 +01:00
Denis Blank
782e1c6447 Fix the MSVC build 2018-11-25 17:08:01 +01:00
Denis Blank
f4268f60f9 initial work on the multipathing unit tests 2018-11-25 03:18:35 +01:00
Denis Blank
07c8ed0cf9 Add invoker for the result class and specialized ones 2018-11-25 02:54:35 +01:00
Denis Blank
ffa3b9ee1b Rename cti::expected -> cti::result 2018-11-25 02:23:08 +01:00
Denis Blank
93b1d27b07 Fix the build for the expected class 2018-11-25 02:13:01 +01:00
Denis Blank
867ab38b8e Rework the expected_trait
* Add tests for the new expected public interface
2018-11-25 00:29:00 +01:00
Denis Blank
c76fe9e973 Make the expected class part of the public interface
* Required for exception rethrowing and recovering
2018-11-24 22:57:18 +01:00
Denis Blank
3a70356f16 Move some methods out of the attorney
* Code cleanup
2018-11-24 15:02:23 +01:00
Denis Blank
6969a9e392 Expose finish() method in continuable_base which makes it possible
to materialize the continuable_base when using it as an expression template.
2018-11-24 14:26:51 +01:00
Denis Blank
0657445466 Re-enable the deprecation warnings
* Ref 815c3d71
2018-11-22 00:50:41 +01:00
Denis Blank
815c3d71b9 Make the old error and dispatch tag not throw deprecation warnings for now 2018-11-22 00:48:02 +01:00
Denis Blank
057fb37123 Introduce the continuable primitive header which supplies tags
* Adapts the new naming scheme from the "Unified Futures" proposal
* Provides new tags for the future inplace resolution
2018-11-19 23:59:01 +01:00
Denis Blank
2ff7bb9b8d Improve 4ae560156348 and allow it to be set as an option 2018-11-19 19:53:02 +01:00
Denis Blank
8e7af3a320 Add traits::unrefcv_t for later usage 2018-11-19 19:37:53 +01:00
Denis Blank
4ae5601563 Limit MSVC concurrent build tasks 2018-11-19 19:37:34 +01:00
Denis Blank
6cd39a2e54 Remove a useless unit test 2018-11-19 19:36:57 +01:00
Denis Blank
818b7a7314 Workaround for a regression introduced ~MSVC 15.8.1 2018-11-19 19:27:29 +01:00
Denis Blank
7cf7314486 Reformat the travis-ci shell script 2018-11-19 19:26:51 +01:00
Denis Blank
8f89835ca4 Add vscode files to gitignore 2018-11-19 19:26:30 +01:00
Denis Blank
646707e5dc Move from std::decay to std::decay_t
* Makes the transition to traits::unref easier later
2018-11-19 19:26:18 +01:00