Y
Hacker News
new
|
ask
|
show
|
jobs
by
jandrewrogers
2727 days ago
In a type safe C++ style, 'meters' would be a numeric-like class with explicit casting operators etc.
1 comments
infinite8s
2719 days ago
Would a single member struct work as well? Can C++ optimize that away?
link