mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
29 lines
359 B
C++
29 lines
359 B
C++
|
|
#ifndef _FLUENT_HPP_
|
|
#define _FLUENT_HPP_
|
|
|
|
#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_
|