utempl/examples/src/reverse.cpp
2024-03-01 16:53:14 +00:00

9 lines
196 B
C++

#include <utempl/utils.hpp>
#include <iostream>
auto main() -> int {
auto tuple = Reverse(utempl::Tuple{4, 3, 2, 1});
ForEach(tuple, [](auto arg){
std::cout << arg << std::endl;
});
};