From 9d420817b04bce1c46cedd7f6c9051a43b7156f8 Mon Sep 17 00:00:00 2001 From: Naios Date: Wed, 1 Jul 2015 20:37:29 +0200 Subject: [PATCH] fix compile --- include/Continuable.h | 6 ++---- test.cpp | 8 +++++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/Continuable.h b/include/Continuable.h index 6df8baf..3bd70e9 100644 --- a/include/Continuable.h +++ b/include/Continuable.h @@ -454,11 +454,9 @@ namespace detail >::type, typename concat_identities_as_pack< Pack, - // typename wrap_in_tuple< - typename unary_chainer_t::callback_arguments_t - // >::type + typename unary_chainer_t::callback_arguments_t >::type - > { } + > { }; template struct multiple_result_maker diff --git a/test.cpp b/test.cpp index 9224fc6..adc0e64 100644 --- a/test.cpp +++ b/test.cpp @@ -230,9 +230,11 @@ int main(int /*argc*/, char** /*argv*/) //// Here we go //entry(); - detail::unary_chainer_t()>>::callback_arguments_t args213987; + detail::unary_chainer_t< + std::function()> + >::callback_arguments_t args213987; - typedef detail::result_maker_of_t< + typedef detail::functional_traits<>::result_maker_of_t< std::function()>, decltype(CastSpellPromise(2)), @@ -243,7 +245,7 @@ int main(int /*argc*/, char** /*argv*/) maker::arguments_t test282_args; maker::arguments_storage_t test282_pack; - + // static_assert(std::is_same<>::value, detail::concat_identities, fu::identity>::type myt;