diff options
Diffstat (limited to 'ttwhy/routers/router_concepts.cppm')
| -rw-r--r-- | ttwhy/routers/router_concepts.cppm | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ttwhy/routers/router_concepts.cppm b/ttwhy/routers/router_concepts.cppm deleted file mode 100644 index ce143cb..0000000 --- a/ttwhy/routers/router_concepts.cppm +++ /dev/null @@ -1,20 +0,0 @@ -module; - -#include <asio.hpp> - -#include <concepts> - -export module ttwhy.routers:router_concepts; - -import ttwhy.scanners; - -namespace ttwhy -{ - - export template<typename Candidate> - concept router = requires(Candidate candidate, scanners::input_event event) { - typename Candidate::terminal_policy; - { candidate.process(event) } -> std::same_as<asio::awaitable<void>>; - }; - -} // namespace ttwhy |
