Y
Hacker News
new
|
ask
|
show
|
jobs
by
NekkoDroid
248 days ago
I guess I should have said `unique_type<uint32_t, "meter", std::ratio<1000, 1>>` then :) Then you can do the same as std::chrono::duration does.
1 comments
bluGill
248 days ago
Now write a book on the various tradeoffs from that decision. there is no perfect general answer, some domains have specific needs that are different. Depending on your domain that might be a good choice or it might be terrible
link