Denis Blank
91d51e6543
Attempt to fix the clang/GCC build
2019-09-02 00:37:37 +02:00
Denis Blank
5e8bbe7c72
Use TYPED_TEST_SUITE instead of deprecated GTest TYPED_TEST_CASE
2019-09-02 00:24:07 +02:00
Denis Blank
fdd9a061c4
Make promise_base default constructible
...
* This makes it possible to use promise_base for optional
promises directly rather than wrapping it as optional<promise_base<...>>.
* Invalidate the promise_base after its first usage.
* Expose an `operator bool()` to make the validility accessible.
* Remove the no longer needed private promise_no_init_arg_t tag.
2019-03-08 18:13:40 +01:00
Denis Blank
20e8c7d3e3
Reflow the license text
...
* For some reason some spaces were removed,
the license text and content stays the same.
2019-01-04 13:39:46 +01:00
Denis Blank
a3a9695174
Happy new year!
2019-01-04 13:35:44 +01:00
Denis Blank
c066940d8d
Use new types instead of aliases for type erasures
...
* Makes compiler output much more readable
This is configurateable through CONTINUABLE_WITH_IMMEDIATE_TYPES,
and automatically enabled for debug builds but disabled
for release builds.
* Remove the old continuable-trait.hpp header
* Make the signature of continuable not dependent anymore
on any size of the arguments which fixes the compilation
with forward declared types.
Thanks Rogiel for the correspoding bug report.
Closes #11
2019-01-04 13:12:48 +01:00
Denis Blank
1320c8eb63
Add a unit test which tests for ready continuables explicitly
2018-12-09 17:01:56 +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
f4268f60f9
initial work on the multipathing unit tests
2018-11-25 03:18:35 +01:00
Denis Blank
f091cbb079
Use a std::apply style unpack
...
* Some cleanup
2018-03-14 10:29:44 +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
b5571c5ee1
Convert the seq and all tests into typed tests
...
* Hopefully this fixes the GCC virtual memory errors
2018-03-12 06:55:51 +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
9286cfa8cc
Feature detection placeholders
2018-01-24 23:05:23 +01:00
Denis Blank
3626133f8e
Happy new Year!
...
* Update license notices to 2018
2018-01-04 01:45:09 +01:00
Denis Blank
f3c33b58c6
Improve the documentation
2017-10-04 19:07:20 +02:00
Denis Blank
425d922965
Test the flatten transform
2017-10-04 18:45:45 +02:00
Denis Blank
ec65ce0bf3
Attempt to fix the travis gcc build
2017-10-04 03:39:53 +02:00
Denis Blank
4d964b0fe2
Add error handling testing
2017-10-03 21:55:04 +02:00
Denis Blank
2dd1b9f361
Promisify all and any callbacks
2017-10-03 20:08:48 +02:00
Denis Blank
6f8edf3416
Thin out the tests
2017-10-03 17:01:05 +02:00
Denis Blank
3d0ce45ae4
Rename unique_callback to promise
2017-10-03 01:37:19 +02:00
Denis Blank
f5e10d9fba
Split the base tests intro multiple files
2017-10-03 01:33:04 +02:00
Denis Blank
8d6c9ab895
Split util into traits and util
2017-09-27 01:10:35 +02:00
Denis Blank
bb70199422
Disable the cxx_function tests
2017-04-21 19:43:57 +02:00
Denis Blank
89559468e7
Update cxx_function to potswa/cxx_function@354f966
2017-03-19 17:50:06 +01:00
Denis Blank
6e04f0d389
Disable the cxx_function tests for now
2017-03-19 00:46:05 +01:00
Denis Blank
a2f9007cf6
Use cxx_function as second testing backend
2017-03-19 00:30:50 +01:00
Denis Blank
e22db05cc3
Add potswa/cxx_function@e7beb8bfe as second test type erasure backend
2017-03-18 23:35:14 +01:00
Denis Blank
df0fd2f2da
Add tests for checking the correct invalidation on destruction
2017-03-02 23:35:49 +01:00
Denis Blank
52e62ccbf4
Split the unit test type instantiations for reducing memory usage
2017-03-01 13:50:51 +01:00
Denis Blank
594b993ddc
Split connection tests
2017-03-01 00:22:17 +01:00
Denis Blank
22d13997df
Add the sequence operator feature
2017-02-28 23:59:46 +01:00
Denis Blank
43a2c47a91
Fix a materialization error on futurization
...
* Add more documentation and tests
2017-02-27 14:40:38 +01:00
Denis Blank
6e5ec79754
initial commit
2017-02-26 00:33:32 +01:00