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