some tests

This commit is contained in:
Naios 2015-06-08 20:59:38 +02:00
parent 2b8102fbae
commit 1bb00c3bd0
2 changed files with 25 additions and 0 deletions

View File

@ -4,6 +4,25 @@
#include "functional_unwrap.hpp"
struct fluent_step
{
template <typename Callback>
fluent_step& then(Callback const& callback)
{
return *this;
}
};
template <typename _ATy = void()>
fluent_step make_waterfall()
{
return fluent_step();
}
void do_export();
#endif /// _FLUENT_HPP_

View File

@ -3,5 +3,11 @@
int main(int argc, char** argv)
{
make_waterfall()
.then([]
{
});
return 0;
}