|
|
|
|
|
by NekkoDroid
249 days ago
|
|
In C++ you probably could even make a templated class that implements all possible operators for any type that supports it with concepts. Then you can just `using kilometer = unique_type<uint32_t, "kilometer">` without needing to create a custom type each time. |
|