From 8fb94f56bb0b39bde27841ec92ca493b5e798802 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Sun, 9 Aug 2015 17:47:54 +0200 Subject: [PATCH] Some minor improvements --- Readme.md | 3 ++- test.cpp | 18 ++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Readme.md b/Readme.md index 99e4334..5142a61 100644 --- a/Readme.md +++ b/Readme.md @@ -1 +1,2 @@ -# Fluent programming playground repo +# Continuable +> C++11 Continuation chains (Work ) diff --git a/test.cpp b/test.cpp index b622376..6380a41 100644 --- a/test.cpp +++ b/test.cpp @@ -66,13 +66,19 @@ TEST_CASE("CrossForward tests", "[CrossForward]") con.ptr = std::make_shared(0); - static_assert( - std::is_same&>, - std::unique_ptr&&>::value, - "cross_forward returns wrong type!"); + static_assert(std::is_same< + cross_forward_t< + TestContainer&&, + std::unique_ptr& + >, + std::unique_ptr&&>::value, + "cross_forward returns wrong type!"); - static_assert( - std::is_same&>, + static_assert(std::is_same< + cross_forward_t< + TestContainer&, + std::unique_ptr& + >, std::unique_ptr&>::value, "cross_forward returns wrong type!");