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

Would a single member struct work as well? Can C++ optimize that away?