4#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_UNIT_HPP_
5#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_UNIT_HPP_
7#include "arene/base/constraints/constraints.hpp"
8#include "arene/base/units/is_quantity_kind.hpp"
13namespace is_unit_detail {
17template <
typename Kind,
typename = constraints<>>
18extern constexpr bool is_unit_v =
false;
22template <
typename Kind>
23extern constexpr bool is_unit_v<Kind, constraints<
typename Kind::unit_kind_type>> = is_quantity_kind_v<Kind>;
29template <
typename Kind>
Definition array_exceptions_disabled.cpp:11
constexpr bool is_unit_v
Type trait for detecting if a type is a unit. Evaluates to true if the type is a unit,...
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10