refactor: unit_can_be_prefixed trait refactored

This commit is contained in:
Mateusz Pusz
2023-06-22 18:15:02 +02:00
parent 3299f53a0f
commit 90c8cbce25

View File

@@ -84,7 +84,7 @@ concept NamedUnit =
* provided.
*/
template<Unit auto V>
inline constexpr bool unit_can_be_prefixed = detail::NamedUnit<std::remove_const_t<decltype(V)>>;
inline constexpr bool unit_can_be_prefixed = true;
/**
* @brief A concept to be used to define prefixes for a unit