Changeset 78:f02dacafad29 in rrlib_si_units
- Timestamp:
- 13.10.2020 13:43:44 (3 months ago)
- Branch:
- 17.03
- Children:
- 79:14b8289e458e, 80:e8468ef8a860
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtti.h
r73 r78 115 115 }; 116 116 117 template <typename TUnit> 118 struct AutoRegister<si_units::tQuantity<TUnit, float>> 119 { 120 static int Register() 121 { 122 conversion::tStaticCastOperation::Register<si_units::tQuantity<TUnit, float>, si_units::tQuantity<TUnit, double>, true, true>(); 123 return 0; 124 } 125 }; 126 127 template <typename TUnit, typename TUnitPolicy, typename TAutoWrapPolicy> 128 struct AutoRegister<si_units::tQuantity<TUnit, math::tAngle<float, TUnitPolicy, TAutoWrapPolicy>>> 129 { 130 static int Register() 131 { 132 conversion::tStaticCastOperation::Register<si_units::tQuantity<TUnit, math::tAngle<float, TUnitPolicy, TAutoWrapPolicy>>, si_units::tQuantity<TUnit, math::tAngle<double, TUnitPolicy, TAutoWrapPolicy>>, true, true>(); 133 return 0; 134 } 135 }; 136 137 117 138 //---------------------------------------------------------------------- 118 139 // Explicit template instantiation
Note: See TracChangeset
for help on using the changeset viewer.