162 Commits

Author SHA1 Message Date
Denis Blank
6dc2b0d0b1 Make the tests pass 2018-02-07 02:15:09 +01:00
Denis Blank
a0a0619953 Fix some SFINAE failures in map_pack
* Make unpack capable of SFINAE
2018-02-07 01:57:22 +01:00
Denis Blank
0da8d1206f Fix a bad conversion 2018-02-07 01:47:42 +01:00
Denis Blank
0e80147343 Readd return type deduction 2018-02-07 01:40:20 +01:00
Denis Blank
7db24574ae Fix a mistake in the tuple remapper 2018-02-07 01:09:33 +01:00
Denis Blank
230b3ec967 Some minor test improvements 2018-02-07 01:01:52 +01:00
Denis Blank
a167261e00 Fix and apply proper version comments 2018-02-06 03:37:57 +01:00
Denis Blank
8ef86d3b70 Port invoke_fused -> unpack 2018-02-06 03:21:32 +01:00
Denis Blank
f0b25956b9 Implement the missing checks for container categories 2018-02-06 02:52:33 +01:00
Denis Blank
09f9da3e0e Rename CONTINUABLE_WITH_EXCEPTIONS -> CONTINUABLE_HAS_EXCEPTIONS
* Since this is automatically defined
2018-02-06 02:25:27 +01:00
Denis Blank
88aebb422b Improve the feature tests
* Also intend those manually and add ca clang-format (6.0)
  placeholder.
2018-02-06 02:22:00 +01:00
Denis Blank
a02e9bdf89 Enable the feature detection based on __cplusplus 2018-02-06 01:58:07 +01:00
Denis Blank
7e90187e50 Some minor improvements 2018-02-06 01:57:41 +01:00
Denis Blank
c8b4e1ddcd Improve the conditional usage of try catch 2018-02-06 00:54:11 +01:00
Denis Blank
752bee6ea4 Start to port the traversal unit tests 2018-02-06 00:44:51 +01:00
Denis Blank
a107a89991 Convert all invoke_result traits into decltype(...) 2018-02-06 00:18:06 +01:00
Denis Blank
d1e0c1d606 Move is_invokeable to traits and rename it to is_invokeable_from_tuple 2018-02-06 00:12:59 +01:00
Denis Blank
eafbe4b37d Add a C++17 std::disjunction polyfill 2018-02-05 23:47:51 +01:00
Denis Blank
6a8919c63d Add the public headers for both traversal strategies 2018-02-05 23:47:50 +01:00
Denis Blank
7d0e68ad9b Convert util::tuple* to std::tuple* 2018-02-05 23:47:49 +01:00
Denis Blank
cd2af2d49a Only check for wrongly finished async traversals in debug mode 2018-02-05 23:47:49 +01:00
Denis Blank
62823f8f56 More conversion work 2018-02-05 23:47:48 +01:00
Denis Blank
910af18f1e Rename the inclusion guards slightly 2018-02-05 23:47:45 +01:00
Denis Blank
0d3a88c4a1 Take my GSoC code for nested pack traversal over
* See https://naios.github.io/gsoc2017 for details
2018-02-05 23:47:07 +01:00
Denis Blank
17a4e8a8da Remove the continuable-api header 2018-02-02 00:24:38 +01:00
Denis Blank
9ce9884376 Rename the inclusion guards slightly 2018-02-01 22:49:42 +01:00
Denis Blank
4b317fb964 Some doxygen additions and improvements 2018-01-30 21:40:09 +01:00
Denis Blank
c4a19efa55 Some const additions 2018-01-30 02:18:31 +01:00
Denis Blank
f35cc355e0 Fix an expression result unused warning 2018-01-30 01:58:53 +01:00
Denis Blank
fb4eb379ca More constexpr conversions 2018-01-30 01:57:41 +01:00
Denis Blank
933d773c4c Improve the constexprness 2018-01-30 01:09:32 +01:00
Denis Blank
24201d5106 Remove the GTest requirement from the amalgamation 2018-01-30 00:30:49 +01:00
Denis Blank
f4ee3ea0d1 Make continuable.hpp include all headers of the library
* Move the old continuable.hpp header into continuable-types.hpp
2018-01-30 00:14:47 +01:00
Denis Blank
7aae524cb1 Remove the alignment tests
* Don't fail the sanitizers when testing with coroutines
2018-01-29 07:45:38 +01:00
Denis Blank
c2ad28d702 More is aligned tests 2018-01-29 07:00:17 +01:00
Denis Blank
701a8ea1a4 Attemt to fix the alignment errors 2018-01-29 01:03:44 +01:00
Denis Blank
9c4b0a3a17 Fix the memory leak tested in 5751152733 2018-01-29 00:33:53 +01:00
Denis Blank
f976591e94 Remove an unused header 2018-01-28 22:40:07 +01:00
Denis Blank
6c209c876a Allows fail to accept plain continuables 2018-01-25 08:11:05 +01:00
Denis Blank
6e404b6eaa Apply outer and inner size improvements for the callable wrapper
* This will decrease the needed allocations heavily,
  since we don't have to allocate twice if a continuation is type erased
  since the outer type erasure may contain the inner one with zero costs.
2018-01-25 05:00:19 +01:00
Denis Blank
9286cfa8cc Feature detection placeholders 2018-01-24 23:05:23 +01:00
Denis Blank
b17d2f9c17 Fix a GCC warning:
```cpp
  ../include/continuable/detail/expected.hpp:344:44: error: declaration of ‘using expected = class cti::detail::util::expected<cti::detail::util::detail::void_guard_tag>’ [-fpermissive]
     using expected = expected<void_guard_tag>;
                                              ^
  ../include/continuable/detail/expected.hpp:171:7: error: changes meaning of ‘expected’ from ‘class cti::detail::util::expected<cti::detail::util::detail::void_guard_tag>’ [-fpermissive]
   class expected
  ```
2018-01-24 01:44:30 +01:00
Denis Blank
810d778b2e Attemtp to fix coroutines on clang 2018-01-24 01:13:03 +01:00
Denis Blank
9b0ad832ff Add a missing include 2018-01-24 01:06:19 +01:00
Denis Blank
efbce1f886 Mark continuation invocations as non exceptional 2018-01-23 19:40:55 +01:00
Denis Blank
ea6b76a044 Some namespace corrections 2018-01-15 05:55:32 +01:00
Denis Blank
cb225835d6 Preparation for making expected available inside the base namespace 2018-01-14 04:26:32 +01:00
Denis Blank
55a59fb7f7 Attempt to fix a gcc warning 2018-01-14 00:18:20 +01:00
Denis Blank
3626133f8e Happy new Year!
* Update license notices to 2018
2018-01-04 01:45:09 +01:00
Denis Blank
140627cfd2 Fix clang and GCC build errors 2017-12-30 03:37:56 +01:00