summaryrefslogtreecommitdiffstats
path: root/src/templates/count.mako.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/count.mako.cpp')
-rw-r--r--src/templates/count.mako.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/count.mako.cpp b/src/templates/count.mako.cpp
new file mode 100644
index 0000000..d348518
--- /dev/null
+++ b/src/templates/count.mako.cpp
@@ -0,0 +1,4 @@
+std::make_unique<CountCondition<${c.datatype}>>(
+${indent(1)}ConfigPropertyIndicies::get()[${c.instances}],
+${indent(1)}[](const auto& item){return item ${c.countop} ${c.countbound};},
+${indent(1)}[](const auto& item){return item ${c.op} ${c.bound};})\
OpenPOWER on IntegriCloud