Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
Functions
units::density Namespace Reference

namespace for unit types and containers representing density values More...

Functions

std::ostream & operator<< (std::ostream &os, const kilograms_per_cubic_meter_t &obj)
 
std::string to_string (const kilograms_per_cubic_meter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const grams_per_milliliter_t &obj)
 
std::string to_string (const grams_per_milliliter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const kilograms_per_liter_t &obj)
 
std::string to_string (const kilograms_per_liter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounces_per_cubic_foot_t &obj)
 
std::string to_string (const ounces_per_cubic_foot_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounces_per_cubic_inch_t &obj)
 
std::string to_string (const ounces_per_cubic_inch_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounces_per_gallon_t &obj)
 
std::string to_string (const ounces_per_gallon_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_cubic_foot_t &obj)
 
std::string to_string (const pounds_per_cubic_foot_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_cubic_inch_t &obj)
 
std::string to_string (const pounds_per_cubic_inch_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pounds_per_gallon_t &obj)
 
std::string to_string (const pounds_per_gallon_t &obj)
 
std::ostream & operator<< (std::ostream &os, const slugs_per_cubic_foot_t &obj)
 
std::string to_string (const slugs_per_cubic_foot_t &obj)
 

Detailed Description

namespace for unit types and containers representing density values

The SI unit for density is kilograms_per_cubic_meter, and the corresponding base_unit category is density_unit.

See also
See unit_t for more information on unit type containers.