mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +02:00
style: add TODO comment for when to update
This commit is contained in:
committed by
Mateusz Pusz
parent
fac1f582c8
commit
8fc0c254a6
@@ -74,6 +74,7 @@ void to_base_specialization_of(const volatile Type<Params...>*);
|
|||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
template<typename T, template<typename...> typename Type>
|
template<typename T, template<typename...> typename Type>
|
||||||
|
// inline constexpr bool // TODO: Replace with concept when it works with MSVC
|
||||||
concept is_derived_from_specialization_of = requires { detail::to_base_specialization_of<Type>(std::declval<const volatile T*>()); };
|
concept is_derived_from_specialization_of = requires { detail::to_base_specialization_of<Type>(std::declval<const volatile T*>()); };
|
||||||
|
|
||||||
} // namespace units
|
} // namespace units
|
||||||
|
@@ -86,6 +86,7 @@ template<ratio R, typename U>
|
|||||||
void to_base_scaled_unit(const volatile scaled_unit<R, U>*);
|
void to_base_scaled_unit(const volatile scaled_unit<R, U>*);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
// inline constexpr bool // TODO: Replace with concept when it works with MSVC
|
||||||
concept is_derived_from_scaled_unit = requires { to_base_scaled_unit(std::declval<const volatile T*>()); };
|
concept is_derived_from_scaled_unit = requires { to_base_scaled_unit(std::declval<const volatile T*>()); };
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
@@ -109,6 +110,7 @@ template<basic_fixed_string Symbol, typename U>
|
|||||||
void to_base_base_dimension(const volatile base_dimension<Symbol, U>*);
|
void to_base_base_dimension(const volatile base_dimension<Symbol, U>*);
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
// inline constexpr bool // TODO: Replace with concept when it works with MSVC
|
||||||
concept is_derived_from_base_dimension = requires { to_base_base_dimension(std::declval<const volatile T*>()); };
|
concept is_derived_from_base_dimension = requires { to_base_base_dimension(std::declval<const volatile T*>()); };
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
Reference in New Issue
Block a user