This question is motivated by preferred mechanism to attach a type to a scalar?, but that got a bit off-track with units-of-measure ...
Let\'s say I want to create a
A library that you are looking for was recently featured on "Standard C++" site.
See Tutorial: Emulating strong/opaque typedefs in C++