mp-units icon indicating copy to clipboard operation
mp-units copied to clipboard

Should units support `<=>`?

Open mpusz opened this issue 9 months ago • 10 comments

Right now, we only support equality comparisons, but maybe something like the one below makes sense?

if constexpr (q.unit > GHz)
  // ...
if constexpr (q.unit > one)
  // ...

mpusz avatar Sep 20 '23 08:09 mpusz