From 1bb00c3bd0fbfead068430d8bbd66ea81fb0815e Mon Sep 17 00:00:00 2001 From: Naios Date: Mon, 8 Jun 2015 20:59:38 +0200 Subject: [PATCH] some tests --- fluent++/fluent++.hpp | 19 +++++++++++++++++++ test.cpp | 6 ++++++ 2 files changed, 25 insertions(+) diff --git a/fluent++/fluent++.hpp b/fluent++/fluent++.hpp index 6193bfa..3752f22 100644 --- a/fluent++/fluent++.hpp +++ b/fluent++/fluent++.hpp @@ -4,6 +4,25 @@ #include "functional_unwrap.hpp" +struct fluent_step +{ + template + fluent_step& then(Callback const& callback) + { + return *this; + } +}; + +template +fluent_step make_waterfall() +{ + return fluent_step(); +} + + + + + void do_export(); #endif /// _FLUENT_HPP_ diff --git a/test.cpp b/test.cpp index acc1f41..5622374 100644 --- a/test.cpp +++ b/test.cpp @@ -3,5 +3,11 @@ int main(int argc, char** argv) { + make_waterfall() + .then([] + { + + }); + return 0; }