flyingrhenquest / oonits Goto Github PK
View Code? Open in Web Editor NEWA simple C++ example that demonstrates automatic type conversion between specific types. This example defines meters, kilometers and miles and demonstrates how to set up a single templated function that converts all the passed in units to meters prior to storing them in a vector.
License: Apache License 2.0