diff --git a/examples/src/times.cpp b/examples/src/times.cpp new file mode 100644 index 0000000..57254a0 --- /dev/null +++ b/examples/src/times.cpp @@ -0,0 +1,10 @@ +#include +#include + +auto main() -> int { + std::size_t i = 0; + utempl::Times<10>([&](){ + ++i; + std::cout << i << std::endl; + }); +};