I want to use boost::units for some SI metrics. However our code mostly deals with millimeters and instead of using
quantity<length> value = 1*milli*meter;
we would prefer something like
quantity<length> value = 1*millimeter;
However I am not sure how to define "millimeter" (without using #define).
Secondly, what is the overhead in using prefixed units?
Update: This needs to run without C++11 features (i.e. no UDL)