Registry / utility / boost-units

boost-units

JSON →
library1.90.0vcpkgunverified

Boost.Units provides compile-time dimensional analysis and unit conversion for C++.

vcpkg install boost-units
INSTALL
IMPORT
SIG · BOOST-UNITS
B
boost-units
utilitycppv1.90.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boost/units/quantity.hpp
#include <boost/units/quantity.hpp>

Define and output a quantity with Boost.Units.

#include <boost/units/quantity.hpp> #include <boost/units/systems/si/length.hpp> #include <iostream> using namespace boost::units; int main() { quantity<si::length> l(1.0 * si::meter); std::cout << l << std::endl; return 0; }
Debug
Known issues
gotchaHeader-only library; no linking required.
fix
Simply include the headers; no target_link_libraries needed.
affects: all
Upgrade
Version history
1.90.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources

No resource links recorded.

boost-units — pip install boost-units · libregistry