quanta 0.1.0
Type-safe units for temperature, frequency, electrical and spatial quantities, modeled after std::chrono
Loading...
Searching...
No Matches
Spatial Units

Tag types identifying the kind of spatial quantity: length, area and volume. More...

Classes

struct  quanta::spatial::meter_unit
 Length, measured in meters. More...
 
struct  quanta::spatial::square_meter_unit
 Area, measured in square meters. More...
 
struct  quanta::spatial::cubic_meter_unit
 Volume, measured in cubic meters. More...
 

Detailed Description

Tag types identifying the kind of spatial quantity: length, area and volume.

Each carries the SI unit symbol of its base unit. The quantity template is unit-generic; the tags differ only in which cross-unit operators relate them, in whether the quantity exposes a period alias (lengths only) and in their display suffixes.