diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-09-22 22:47:33 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-09-22 22:47:33 +0200 |
| commit | d05b9343f69a0841043963088e0003368e205bd9 (patch) | |
| tree | 8cde07ff86d27cbc808a0a149b89d0024b4a586c /ttwhy/routers/concepts.cppm | |
| parent | 22f6534081acfabdab4956d337604a21e7da5b64 (diff) | |
| download | ttwhy-master.tar.xz ttwhy-master.zip | |
Diffstat (limited to 'ttwhy/routers/concepts.cppm')
| -rw-r--r-- | ttwhy/routers/concepts.cppm | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ttwhy/routers/concepts.cppm b/ttwhy/routers/concepts.cppm deleted file mode 100644 index cfbcb5a..0000000 --- a/ttwhy/routers/concepts.cppm +++ /dev/null @@ -1,17 +0,0 @@ -module; - -#include <asio.hpp> - -#include <concepts> - -export module ttwhy.routers:concepts; - -namespace ttwhy -{ - - export template<typename Candidate, typename Event> - concept router = requires(Candidate candidate, Event event) { - { candidate.process(event) } -> std::same_as<asio::awaitable<void>>; - }; - -} // namespace ttwhy |
