From 9f7b8406e9be8ffd114490db5d1e89a88151c41a Mon Sep 17 00:00:00 2001 From: mzuenni Date: Thu, 5 Sep 2024 15:00:44 +0200 Subject: more tests --- test/other/bitOps.cpp.awk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/other/bitOps.cpp.awk (limited to 'test/other/bitOps.cpp.awk') diff --git a/test/other/bitOps.cpp.awk b/test/other/bitOps.cpp.awk new file mode 100644 index 0000000..f1abcfb --- /dev/null +++ b/test/other/bitOps.cpp.awk @@ -0,0 +1,9 @@ +/for \(int subset/ { + print "template" + print "void subsets(int bitmask, F&& f) {" +} +/\/\/ Nächste Permutation/ { + print " {f(subset);}" + print "}" +} +{ print } -- cgit v1.2.3