mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
common_type<my_value<T>, my_value<U>> used in a unit test refactored
This commit is contained in:
@@ -63,7 +63,7 @@ namespace units {
|
|||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
struct common_type<my_value<T>, my_value<U>> : common_type<T, U> {
|
struct common_type<my_value<T>, my_value<U>> : std::type_identity<my_value<common_type_t<T, U>>> {
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename T, typename U>
|
template<typename T, typename U>
|
||||||
|
Reference in New Issue
Block a user