607 Commits

Author SHA1 Message Date
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
Denis Blank
a9d4ee5ba8 Fix the single tests 2018-11-18 18:59:54 +01:00
Denis Blank
cc83fd5251 Rearrange the internal headers 2018-11-18 18:46:15 +01:00
Denis Blank
c1b8aa8694 Attempt to work around the failing MSVC CI build 2018-11-18 18:11:50 +01:00
Denis Blank
7b4ab90f9c Disable benchmarks by default 2018-11-18 17:46:25 +01:00
Denis Blank
fae030afa3 Fix a compilation error which is caused by regression in one of the MSVC 15.1 updates 2018-11-18 17:46:25 +01:00
Denis Blank
2cfbdaf673 Implement a benchmark against boost::future 2018-11-18 17:46:25 +01:00
Denis Blank
2b4f31c121 Initial work on benchmarking 2018-11-18 17:46:24 +01:00
Thomas James Passmore
ede7a4a72b Fix CMake scripts
cmake/configure_macros.cmake and cmake/configure_compiler.cmake
incorrectly reference CMAKE_SOURCE_DIR, occurences have been changed to
PROJECT_SOURCE_DIR

closes #7
2018-11-17 12:10:01 +01:00
Denis Blank
9247e7b85f Silence a warning when using CONTINUABLE_WITH_UNHANDLED_EXCEPTIONS
* Ref e59e6ae8b9
2018-03-19 09:07:34 +01:00
Denis Blank
e59e6ae8b9 Make it easier to inspect unhandled asynchronous exceptions in debuggers 2018-03-17 14:23:19 +01:00
Denis Blank
7dbf22a2d2 Make it possible to remap the result from promisified expressions 2018-03-17 13:24:57 +01:00
Denis Blank
b68cd1b43a Set the CMake project version to 3.0.0 2018-03-14 10:29:45 +01:00
Denis Blank
be6571091b Implement continuables as return types for coroutines
* Closes #4
2018-03-14 10:29:45 +01:00
Denis Blank
358e13e06e Remove unused size traits 2018-03-14 10:29:45 +01:00
Denis Blank
3a5cea7779 std::size_t is part of cstddef not cstdint 2018-03-14 10:29:45 +01:00
Denis Blank
139f7d39de Remove unused static_if 2018-03-14 10:29:45 +01:00
Denis Blank
65e41a2cbd Remove unused identity utilities 2018-03-14 10:29:45 +01:00
Denis Blank
83f736a93f Move the arguments out of a ready continuable with multiple arguments 2018-03-14 10:29:44 +01:00
Denis Blank
f091cbb079 Use a std::apply style unpack
* Some cleanup
2018-03-14 10:29:44 +01:00
Denis Blank
41c7cb008a Add an alias for type erased work objects 2018-03-14 10:29:44 +01:00
Denis Blank
084937e192 Use std::void_t when available 2018-03-12 16:34:55 +01:00
Denis Blank
0e4b299b45 Provide tools for creating an amalgamation header 2018-03-12 16:34:18 +01:00
Denis Blank
977feb3825 Update the online compilers 2018-03-12 16:32:28 +01:00
Denis Blank
d30814c2ff Fix a MSVC C++latest warning regarding allocator traits 3.0.0 2018-03-12 11:21:34 +01:00
Denis Blank
3b0d29ae9d Update function2 to Naios/function2@db03b55b 2018-03-12 11:21:34 +01:00
Denis Blank
1870e5f535 Update GTest to google/googletest@9bda90b7e5 2018-03-12 11:21:34 +01:00
Denis Blank
a7cdb16370 Remove cxx_function from dep
* This is no longer needed
2018-03-12 10:54:00 +01:00
Denis Blank
05727b0ee6 Reduce the amount of instantiations tested inside the CI 2018-03-12 09:56:53 +01:00
Denis Blank
728292f3de Fix a copy paste mistake 2018-03-12 09:48:09 +01:00
Denis Blank
3f9076b6f8 Add the changelog for 3.0.0 2018-03-12 09:37:22 +01:00
Denis Blank
180380cfbc Move some experimental compilation tests to its own unit test 2018-03-12 09:36:50 +01:00
Denis Blank
7189068037 Also test MSVC with /std:c++latest 2018-03-12 09:36:15 +01:00