Skip to content

Commit

Permalink
Merge branch 'master' of github.com:motis-project/utl
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jun 24, 2024
2 parents 4f13567 + 80df7a6 commit 8c61dca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/utl/cflow.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once

namespace utl {

// Used like this:
// for_each(..., []() {
// if (x) return utl::kContinue;
// else return utl::kBreak;
// });
enum class cflow { kContinue, kBreak };

} // namespace utl

0 comments on commit 8c61dca

Please sign in to comment.