units_data(3)

units::data(3) Unit Conversion and Dimensional Analysis Library units::data(3)

NAME

units::data - namespace for unit types and containers representing data values

SYNOPSIS

Typedefs

Units (full names plural)



typedef unit< std::ratio< 1 >, units::category::data_unit > bytes


Units (full names singular)



typedef bytes byte


Units (abbreviated)



typedef bytes B


Unit Containers



typedef unit_t< byte > byte_t
typedef unit_t< exabyte > exabyte_t
typedef unit_t< bit > bit_t
typedef unit_t< exabit > exabit_t


Functions


std::ostream & operator<< (std::ostream &os, const byte_t &obj)
std::string to_string (const byte_t &obj)
std::ostream & operator<< (std::ostream &os, const exabyte_t &obj)
std::string to_string (const exabyte_t &obj)
std::ostream & operator<< (std::ostream &os, const bit_t &obj)
std::string to_string (const bit_t &obj)
std::ostream & operator<< (std::ostream &os, const exabit_t &obj)
std::string to_string (const exabit_t &obj)

Detailed Description

namespace for unit types and containers representing data values

The base unit for data is bytes, and the corresponding base_unit category is data_unit.

See also

See unit_t for more information on unit type containers.

Author

Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.

Wed Feb 11 2026 09:38:34 Version 2.3.0