Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
is_explicit.hpp
Go to the documentation of this file.
1
#
ifndef
INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_EXPLICIT_HPP_
2
#
define
INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_EXPLICIT_HPP_
3
4
#
include
"arene/base/units/is_implicit.hpp"
5
#
include
"arene/base/units/is_quantity_kind.hpp"
6
7
namespace
arene
{
8
namespace
base
{
9
namespace
units_detail {
10
11
/// @brief Type trait for detecting an explicit quantity kind.
12
/// @tparam Type the type to check
13
///
14
/// Evaluates to @c true if the type is a quantity kind which does not provide
15
/// an unspecified @c is_implicit type alias, @c false otherwise
16
template
<
typename
Type>
17
extern
constexpr
bool
is_explicit_v = is_quantity_kind_v<Type> && !is_implicit_v<Type>;
18
19
}
// namespace units_detail
20
}
// namespace base
21
}
// namespace arene
22
23
#
endif
// INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_UNITS_IS_EXPLICIT_HPP_
arene::base
Definition
array_exceptions_disabled.cpp:11
arene
Copyright 2026, Toyota Motor Corporation.
Definition
array_exceptions_disabled.cpp:10
arene
base
units
is_explicit.hpp
Generated by
1.13.2