forked from mpusz/mp-units
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
|
||||
|
||||
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*>()); };
|
||||
|
||||
} // namespace units
|
||||
|
@@ -86,6 +86,7 @@ template<ratio R, typename U>
|
||||
void to_base_scaled_unit(const volatile scaled_unit<R, U>*);
|
||||
|
||||
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*>()); };
|
||||
|
||||
} // namespace detail
|
||||
@@ -109,6 +110,7 @@ template<basic_fixed_string Symbol, typename U>
|
||||
void to_base_base_dimension(const volatile base_dimension<Symbol, U>*);
|
||||
|
||||
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*>()); };
|
||||
|
||||
} // namespace detail
|
||||
|
Reference in New Issue
Block a user