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