4 ms·
"Scientific and Engineering C++" by Barton and Nackman had a good example of doing units in C++ using templates. This blog post describes the basic approach htt
by doublec 12y ago
"Scientific and Engineering C++" by Barton and Nackman had a good example of doing units in C++ using templates. This blog post describes the basic approach http://learningcppisfun.blogspot.com/2007/01/units-and-dimensions-with-c-templates.html http://learningcppisfun.blogspot.com/2007/01/units-and-dimen...