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

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

Functions

std::ostream & operator<< (std::ostream &os, const gram_t &obj)
 
std::string to_string (const gram_t &obj)
 
std::ostream & operator<< (std::ostream &os, const metric_ton_t &obj)
 
std::string to_string (const metric_ton_t &obj)
 
std::ostream & operator<< (std::ostream &os, const pound_t &obj)
 
std::string to_string (const pound_t &obj)
 
std::ostream & operator<< (std::ostream &os, const long_ton_t &obj)
 
std::string to_string (const long_ton_t &obj)
 
std::ostream & operator<< (std::ostream &os, const short_ton_t &obj)
 
std::string to_string (const short_ton_t &obj)
 
std::ostream & operator<< (std::ostream &os, const stone_t &obj)
 
std::string to_string (const stone_t &obj)
 
std::ostream & operator<< (std::ostream &os, const ounce_t &obj)
 
std::string to_string (const ounce_t &obj)
 
std::ostream & operator<< (std::ostream &os, const carat_t &obj)
 
std::string to_string (const carat_t &obj)
 
std::ostream & operator<< (std::ostream &os, const slug_t &obj)
 
std::string to_string (const slug_t &obj)
 

Detailed Description

namespace for unit types and containers representing mass values

The SI unit for mass is kilograms, and the corresponding base_unit category is mass_unit.

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