forked from mpusz/mp-units
refactor: 💥 is_XXX customization points for representation types removed
This commit is contained in:
@@ -62,9 +62,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<typename T, auto Min, auto Max>
|
||||
constexpr bool mp_units::is_scalar<ranged_representation<T, Min, Max>> = mp_units::is_scalar<T>;
|
||||
|
||||
template<typename T, auto Min, auto Max, typename Char>
|
||||
struct MP_UNITS_STD_FMT::formatter<ranged_representation<T, Min, Max>, Char> : formatter<T, Char> {
|
||||
template<typename FormatContext>
|
||||
|
||||
@@ -113,9 +113,6 @@ public:
|
||||
= default;
|
||||
};
|
||||
|
||||
template<typename T, typename Validator>
|
||||
constexpr bool mp_units::is_scalar<validated_type<T, Validator>> = mp_units::is_scalar<T>;
|
||||
|
||||
|
||||
template<typename CharT, typename Traits, typename T, typename Validator>
|
||||
std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os,
|
||||
|
||||
Reference in New Issue
Block a user