HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
au::Constant< Unit > Struct Template Reference
Inheritance diagram for au::Constant< Unit >:
au::detail::MakesQuantityFromNumber< Constant, Unit > au::detail::ScalesQuantity< Constant, Unit > au::detail::ComposesWith< Constant, Unit, Constant, Constant > au::detail::ComposesWith< Constant, Unit, QuantityMaker, QuantityMaker > au::detail::ComposesWith< Constant, Unit, SingularNameFor, SingularNameFor > au::detail::CanScaleByMagnitude< Constant, Unit > au::detail::PrecomposesWith< UnitWrapper, Unit, OtherWrapper, ResultWrapper > au::detail::PostcomposesWith< UnitWrapper, Unit, OtherWrapper, ResultWrapper > au::detail::PrecomposesWith< UnitWrapper, Unit, OtherWrapper, ResultWrapper > au::detail::PostcomposesWith< UnitWrapper, Unit, OtherWrapper, ResultWrapper > au::detail::PrecomposesWith< UnitWrapper, Unit, OtherWrapper, ResultWrapper > au::detail::PostcomposesWith< UnitWrapper, Unit, OtherWrapper, ResultWrapper >

Public Member Functions

template<typename T >
constexpr auto as () const
 
template<typename T , typename OtherUnit >
constexpr auto coerce_as (OtherUnit u) const
 
template<typename T , typename OtherUnit >
constexpr auto as (OtherUnit u) const
 
template<typename T , typename OtherUnit >
constexpr auto coerce_in (OtherUnit u) const
 
template<typename T , typename OtherUnit >
constexpr auto in (OtherUnit u) const
 
template<typename U , typename R >
constexpr operator Quantity< U, R > () const
 
template<typename T , typename = std::enable_if_t<can_store_value_in<typename CorrespondingQuantity<T>::Rep>( typename CorrespondingQuantity<T>::Unit{})>>
constexpr operator T () const
 

Static Public Member Functions

template<typename T , typename OtherUnit >
static constexpr bool can_store_value_in (OtherUnit other)
 

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