4#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_KIND_WITH_EXPONENT_FWD_HPP_
5#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_KIND_WITH_EXPONENT_FWD_HPP_
8#include "arene/base/stdlib_choice/cstdint.hpp"
9#include "arene/base/stdlib_choice/remove_cv.hpp"
14namespace units_detail {
27template <
typename Kind, exponent_t PositiveExponent, exponent_t NegativeExponent,
typename = constra
ints<>>
28class kind_with_exponent_helper;
37template <
typename Kind, exponent_t PositiveExponent, exponent_t NegativeExponent,
typename = constra
ints<>>
38class quantity_kind_with_exponent;
46template <
typename Kind, units_detail::exponent_t Exponent>
49 (Exponent < 0) ? 0 : Exponent,
50 (Exponent < 0) ? -Exponent : 0>::type;
Definition accumulate.hpp:37
typename units_detail::kind_with_exponent_helper< std::remove_cv_t< Kind >,(Exponent< 0) ? 0 :Exponent,(Exponent< 0) ? -Exponent :0 >::type kind_with_exponent_t
Alias template for raising the specified quantity kind to the specified exponent.
Definition kind_with_exponent_fwd.hpp:47
Definition accumulate.hpp:36
typename remove_cv< T >::type remove_cv_t
An alias for T, but with top-level const and/or volatile qualifiers removed.
Definition remove_cv.hpp:64
::int64_t int64_t
A 64-bit signed integer type.
Definition cstdint.hpp:71