quanta 0.1.0
Type-safe units for temperature, frequency, electrical and spatial quantities, modeled after std::chrono
Loading...
Searching...
No Matches
quanta::spatial::quantity_values< Rep > Struct Template Reference

Provides special values for quantity representations. More...

#include <quanta/spatial.hpp>

Static Public Member Functions

static constexpr Rep zero () noexcept
 Returns a zero quantity.
 
static constexpr Rep max () noexcept
 Returns the maximum representable quantity.
 
static constexpr Rep min () noexcept
 Returns the minimum representable quantity.
 

Detailed Description

template<typename Rep>
struct quanta::spatial::quantity_values< Rep >

Provides special values for quantity representations.

Template Parameters
RepThe representation type.

Definition at line 132 of file spatial.hpp.

Member Function Documentation

◆ max()

template<typename Rep >
static constexpr Rep quanta::spatial::quantity_values< Rep >::max ( )
inlinestaticconstexprnoexcept

Returns the maximum representable quantity.

Definition at line 137 of file spatial.hpp.

◆ min()

template<typename Rep >
static constexpr Rep quanta::spatial::quantity_values< Rep >::min ( )
inlinestaticconstexprnoexcept

Returns the minimum representable quantity.

Definition at line 140 of file spatial.hpp.

◆ zero()

template<typename Rep >
static constexpr Rep quanta::spatial::quantity_values< Rep >::zero ( )
inlinestaticconstexprnoexcept

Returns a zero quantity.

Definition at line 134 of file spatial.hpp.


The documentation for this struct was generated from the following file: