dimension_traits and unit_traits merged as upcasting_traits
This commit is contained in:
1 parent
45f7b4f19f
commit
ee7518d0a1
8 files changed
+41
-48
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user