3#ifndef pRC_CORE_VALUE_FUNCTIONS_IS_UNIT_H
4#define pRC_CORE_VALUE_FUNCTIONS_IS_UNIT_H
13 template<
class X,
class R = RemoveReference<X>, IsValue TT = Value<R>>
14 requires IsDefined<Unit<R>> && IsConstructible<Unit<R>> &&
15 IsInvocable<RelativeError, decltype(unit<R>()), X>
16 static inline constexpr auto isUnit(X &&a,
Definition cholesky.hpp:10
static constexpr auto unit()
Definition unit.hpp:13
static constexpr auto isUnit(T const a)
Definition is_unit.hpp:11
static constexpr auto relativeError(XE &&expected, XA &&approx)
Definition relative_error.hpp:19