mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
refactor: small unit_concepts.h
cleanup
This commit is contained in:
@@ -146,6 +146,9 @@ template<Unit From, Unit To>
|
||||
return false;
|
||||
}
|
||||
|
||||
template<typename... Expr>
|
||||
struct derived_unit;
|
||||
|
||||
namespace detail {
|
||||
|
||||
struct unit_interface {
|
||||
|
@@ -60,13 +60,6 @@ MP_UNITS_EXPORT struct one;
|
||||
MP_UNITS_EXPORT template<typename T>
|
||||
concept PrefixableUnit = Unit<T> && is_derived_from_specialization_of_v<T, named_unit>;
|
||||
|
||||
template<typename... Expr>
|
||||
struct derived_unit;
|
||||
|
||||
MP_UNITS_EXPORT template<symbol_text Symbol, Magnitude auto M, PrefixableUnit auto U>
|
||||
requires(!Symbol.empty())
|
||||
struct prefixed_unit;
|
||||
|
||||
namespace detail {
|
||||
|
||||
template<Unit U>
|
||||
|
Reference in New Issue
Block a user