Some unit traits don't support unit slots
chiphogg opened this issue · 0 comments
chiphogg commented
constexpr auto cpu_ticks = inverse(hertz * mag<400'000'000>());
constexpr auto ratio = unit_ratio(cpu_ticks, nano(seconds));
This second line doesn't compile. It should though! Same for other related traits.