forked from mpusz/mp-units
added inheritance unit-test and made is_quantity<T> more specific
This commit is contained in:
committed by
Mateusz Pusz
parent
95ac869522
commit
8e1539bf22
@@ -269,7 +269,7 @@ concept Reference = detail::is_reference<T>;
|
||||
namespace detail {
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool is_quantity = requires { typename T::dimension; typename T::unit; typename T::rep;};
|
||||
inline constexpr bool is_quantity = false;
|
||||
|
||||
template<typename T>
|
||||
inline constexpr bool is_quantity_point = false;
|
||||
|
||||
Reference in New Issue
Block a user