units_unit_value_power(3)
| units::unit_value_power< U1, power >(3) | Unit Conversion and Dimensional Analysis Library | units::unit_value_power< U1, power >(3) |
NAME
units::unit_value_power< U1, power > - raises unit_value_to a power at compile-time
SYNOPSIS
#include <units.h>
Inherits units::detail::unit_value_arithmetic< U1, U1 >, and units::detail::_unit_value_t< units::detail::power_of_unit< power, traits::unit_value_t_traits< U1 >::unit_type >::type >.
Static Public Member Functions
static constexpr const unit_t< unit_type >
value () noexcept
Value of exponentiation.
Detailed Description
template<class U1, int power>
struct units::unit_value_power< U1, power >"raises unit_value_to a power at compile-time
The resulting unit will the unit_type of U1 squared
Template Parameters
See also
Note
Member Function Documentation
template<class U1 , int power> static constexpr const unit_t< unit_type > units::unit_value_power< U1, power >::value () [inline], [static], [constexpr], [noexcept]
Value of exponentiation. Returns the calculated value of the exponentiation of U1, in units of U1^power.
Returns
Author
Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.
| Wed Mar 29 2023 | Version 2.3.0 |
