#include <% (1..n).each do |i| %> struct test<%= i %> { using r1 = std::ratio<<%= 2 * i - 1 %>, <%= 2 * n %>>; using r2 = std::ratio<<%= 2 * i %>, <%= 2 * n %>>; #if defined(METABENCH) using r3 = std::ratio_multiply; using r4 = std::ratio_divide; #else using r3 = void; using r4 = void; #endif }; <% end %> int main() { }