diff --git a/examples/src/reverse.cpp b/examples/src/reverse.cpp new file mode 100644 index 0000000..ee78d29 --- /dev/null +++ b/examples/src/reverse.cpp @@ -0,0 +1,9 @@ +#include +#include + +auto main() -> int { + auto tuple = Reverse(utempl::Tuple{4, 3, 2, 1}); + ForEach(tuple, [](auto arg){ + std::cout << arg << std::endl; + }); +};