Click here to Skip to main content
15,867,851 members
Articles / Programming Languages / VC++

Units of measurement types in C++. Using compile time template programming.

Rate me:
Please Sign up or sign in to vote.
4.95/5 (26 votes)
8 Dec 2014CPOL32 min read 74.1K   600   43  
A lightweight library allowing diverse unit types, seamless implicit scaling between them and the ability to work efficiently with multiple factor-less base unit systems (e.g. MKS and cgs).

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired
Spain Spain
Software Author with engineering, science and mathematical background.

Many years using C++ to develop responsive visualisations of fine grained dynamic information largely in the fields of public transport and supply logistics. Currently interested in what can be done to make the use of C++ cleaner, safer, and more comfortable.

Comments and Discussions