4#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_QUANTITY_KIND_HPP_
5#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_QUANTITY_KIND_HPP_
8#include "arene/base/stdlib_choice/enable_if.hpp"
9#include "arene/base/stdlib_choice/is_same.hpp"
10#include "arene/base/stdlib_choice/remove_cv.hpp"
15namespace is_quantity_kind_detail {
19template <
typename Type,
typename = constra
ints<>>
20extern constexpr bool is_quantity_kind_v =
false;
24template <
typename Type>
25extern constexpr bool is_quantity_kind_v<
27 constraints<std::enable_if_t<std::is_same<Type, typename Type::quantity_kind_type>::value>>> =
true;
34template <
typename Type>
35extern constexpr bool is_quantity_kind_v = is_quantity_kind_detail::is_quantity_kind_v<std::remove_cv_t<Type>>;
Definition accumulate.hpp:37
constexpr bool is_quantity_kind_v
Type trait for detecting a quantity kind. Evaluates to true if the type is a quantity kind,...
Definition accumulate.hpp:36