574 Commits

Author SHA1 Message Date
Denis Blank
de40af0927 Add cti::populate and make use of it in tests 2018-03-09 09:45:00 +01:00
Denis Blank
86c3815ae0 Make continuable_base non copyable by default
* Actually there is no reason that the call hierarchy is copyable
  when looking at the fact that two types just cause distraction
  and bad usage.
2018-03-09 08:51:33 +01:00
Denis Blank
7a00a5f1c2 Seems like move only values inside initializer lists aren't valid sometimes 2018-03-09 08:41:55 +01:00
Denis Blank
1ce251483c Add more remaining nested unit tests to the any strategy 2018-03-09 08:13:50 +01:00
Denis Blank
c4cb102795 Fix a bug in the pack traversal where the container content wasn't perfectly forwarded 2018-03-09 08:13:20 +01:00
Denis Blank
deb798118c Add unit tests for the nested seq and all compositions 2018-03-09 05:40:37 +01:00
Denis Blank
b50c2bf8a8 Fix non default constructible values in compositions
* Add a test case for the non default constructible case
2018-03-09 05:25:36 +01:00
Denis Blank
f43a730cbd Basic implementation of the shared unit tests between all and seq 2018-03-09 05:12:09 +01:00
Denis Blank
7f76c55350 Fix the unsigned mismatch again 2018-03-09 04:57:52 +01:00
Denis Blank
087047e26d Initial work on testing the new seq and all strategy 2018-03-09 04:54:11 +01:00
Denis Blank
d59c0730b8 Make it possible to use non default constructible values in compositions 2018-03-09 04:50:06 +01:00
Denis Blank
54385b5654 Fix an unsigned mismatch 2018-03-09 04:47:49 +01:00
Denis Blank
cc135da250 Fix additional debug code in async pack traversal 2018-03-09 04:34:58 +01:00
Denis Blank
1a947d5c59 Fix the flat variant implementation
* Add unit tests
2018-03-09 04:34:31 +01:00
Denis Blank
8abde4b32a Add contribution templates 2018-03-09 03:34:43 +01:00
Denis Blank
916ea3c04d Use the flat_variant for the expected implementation 2018-03-08 19:29:31 +01:00
Denis Blank
c66e9a8ee1 optional_variant -> flat_variant 2018-03-08 17:30:33 +01:00
Denis Blank
e78291669c Establish the basic functionality of the optional_variant 2018-03-08 17:26:33 +01:00
Denis Blank
22896a69af Attempt to fix the basic instantiation of variant 2018-03-08 15:40:38 +01:00
Denis Blank
42c04f0fcb More work on implementing the optional_variant type 2018-03-08 14:24:09 +01:00
Denis Blank
224e8c835f Some more work on the optional variant type 2018-03-08 14:06:30 +01:00
Denis Blank
ca03c52d40 more 2018-03-07 17:14:41 +01:00
Denis Blank
d9622566e9 Address a MSVC compiler bug which prevents collapsing references in coroutines
* Closes #2
3.0.0-alpha-1
2018-03-06 23:14:55 +01:00
Denis Blank
715cece74c Allow non copyable completion handlers in the asio example 2018-03-06 22:06:07 +01:00
Denis Blank
98aefb59d8 First attempt on making all promises non-copyable
* Fix CONTINUABLE_WITH_UNHANDLED_ERRORS when using the promise as
  real callback.
2018-03-06 21:50:25 +01:00
Denis Blank
73c0b17962 Mark promise helpers as noexcept 2018-03-06 21:40:37 +01:00
Denis Blank
12c23f15f8 Fix a defect unit test 2018-03-06 21:36:27 +01:00
Denis Blank
1aae8c3083 Async traversal cleanup 2018-03-06 08:49:00 +01:00
Denis Blank
201a2fc17c Some cleanups in the any composition 2018-03-06 08:44:12 +01:00
Denis Blank
8f69198651 More cleanups in util and traits 2018-03-06 08:37:07 +01:00
Denis Blank
acc15b46ab Traits and util cleanup 2018-03-06 03:53:18 +01:00
Denis Blank
0dbcccdc9e Add documentation to when_any 2018-03-04 08:44:38 +01:00
Denis Blank
9ecbb00f5a Implement the nested when_any connection 2018-03-04 08:14:11 +01:00
Denis Blank
cdbc332287 Implement the new result deduction for when_any
* The logic requires now that all continuables yield the same
  types and amount of result objects.
2018-03-02 19:18:53 +01:00
Denis Blank
9891543b1f Enable and document the new when_all 2018-03-02 04:49:04 +01:00
Denis Blank
dd1b605d95 Revert 5dfe388f7f8156
* It turns out that this isn't needed anymore and just affects
  the compile time by now
* Additionally GCC can't handle this properly
2018-03-02 04:02:45 +01:00
Denis Blank
178f590aa9 Address a GCC parsing failure (compiler bug)
* See https://travis-ci.org/Naios/continuable/jobs/348056527#L723
2018-03-02 03:14:05 +01:00
Denis Blank
83752502dc Fix the simplification 2018-03-02 02:54:09 +01:00
Denis Blank
92ba25cd23 Started on simplifying the all and seq composition heavily 2018-03-02 01:25:59 +01:00
Denis Blank
a9da11149b Attempt to fix the clang build 2018-03-01 05:16:12 +01:00
Denis Blank
7602dfd50d Basic implementation of the all composition 2018-03-01 03:21:31 +01:00
Denis Blank
1853ec8b42 Start to work on rewriting the all composition 2018-02-28 18:12:12 +01:00
Denis Blank
375e376db8 Attempt to fix the clang build 2018-02-28 17:37:02 +01:00
Denis Blank
4a5136427b Avoid using SFINAE inside the materializer 2018-02-28 17:28:41 +01:00
Denis Blank
36257780e0 Some cleanups 2018-02-28 17:15:19 +01:00
Denis Blank
7bf0439493 Materialize continuables when applying strategies 2018-02-28 17:11:58 +01:00
Denis Blank
a1ee771059 Fix an issue when connecting void continuables 2018-02-28 02:43:57 +01:00
Denis Blank
663779f083 Add documentation to when_seq 2018-02-28 02:10:35 +01:00
Denis Blank
3c70024c0b Make it possible to apply when_seq to iterators 2018-02-28 01:21:27 +01:00
Denis Blank
b3bf06c26e Rename some files to match the naming standard 2018-02-28 00:46:40 +01:00