# The units library can then be used in some other cmake project using # the standard 'find_package' command. # To have cmake install units library to a local 'install' directory:Ĭmake -DCMAKE_INSTALL_PREFIX= "install". Added to_string function and abbreviation functions:.Added min and max overloads for units types in units::math.Assignment operators for unit types: -=, +=, /=, *=.Support for std::numeric_limits of unit types.Adds std::cout support for units with no defined abbreviation (they show up as a combination of SI base units). Check out Enabling a subset of units to improve compilation time for instructions. Even more dramatic reductions in compile time can be achieved if you opt-in to specific unit definitions instead of using all the library-defined types (which is the default value).fixed compilation error when iostream was disabled.added unary increment and decrement operators ( ++, -), as well as unary + operator.string conversions are now locale aware.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |