dimension_traits and unit_traits merged as upcasting_traits

This commit is contained in:
Mateusz Pusz committed 2018-11-17 12:39:45 +01:00
1 parent 45f7b4f19f
commit ee7518d0a1
8 files changed
+41 -48

No files matched your search

-8
View File
@@ -53,12 +53,4 @@ namespace units {
detail::is_unit<typename T::base_type> &&
DerivedFrom<T, typename T::base_type>;
// dimension_traits
template<typename T>
struct unit_traits : std::type_identity<T> {};
template<typename T>
using unit_traits_t = typename unit_traits<T>::type;
} // namespace units