From 28df29e03537e669a3a3f50f2e0b682c7ba4243f Mon Sep 17 00:00:00 2001 From: Denis Blank 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; }