Files
mp-units/test/metabench/ratio/create_std_ratio.cpp.erb
T

17 lines
282 B
ERB
Raw Normal View History

2019-05-17 22:41:46 +02:00
#include "std_ratio.h"
2019-07-24 11:58:15 +02:00
namespace stde = std::experimental;
2019-05-17 22:41:46 +02:00
<% (1..n).each do |i| %>
struct test<%= i %> {
#if defined(METABENCH)
2019-05-17 22:41:46 +02:00
using r1 = std::ratio<<%= i %>, <%= n + 1 - i %>>;
using r2 = std::ratio<<%= n + 1 - i %>, <%= i %>>;
#endif
2019-05-17 22:41:46 +02:00
};
<% end %>
int main()
{
}