Skip to content

Instantly share code, notes, and snippets.

@willkill07
Last active August 29, 2015 14:06
Show Gist options
  • Save willkill07/c117d175d7defc41655a to your computer and use it in GitHub Desktop.
Save willkill07/c117d175d7defc41655a to your computer and use it in GitHub Desktop.
int main()
{
auto t = make_scoped(
task(
[] (auto x) {
}, token,
then(
[] (auto x) {
}, options,
[] (auto x) {
}, options,
[] (auto x) {
}, on_termination, options
),
[] (auto x) {
}, token
),
then(
[] (auto x) {
//
}
)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment