From c54aa9b0eb90455e1e74cc4f7518894141119b5e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 7 Apr 2023 23:00:34 +0200 Subject: [PATCH] refactor(example): `common_type` specialization for `ranged_representation` no longer needed --- example/include/ranged_representation.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/example/include/ranged_representation.h b/example/include/ranged_representation.h index 617e3612..c732b816 100644 --- a/example/include/ranged_representation.h +++ b/example/include/ranged_representation.h @@ -45,11 +45,3 @@ public: template inline constexpr bool mp_units::is_scalar> = mp_units::is_scalar; - -template -struct std::common_type> : - std::type_identity, Min, Max>> {}; - -template -struct std::common_type, std::intmax_t> : - std::type_identity, Min, Max>> {};