| 6 | { |
| 7 | |
| 8 | static void forAllLengthUnits( auto&& func ) |
| 9 | { |
| 10 | // All length-related unit types must be listed here. |
| 11 | func.template operator()<LengthUnit>(); |
| 12 | func.template operator()<AreaUnit>(); |
| 13 | func.template operator()<VolumeUnit>(); |
| 14 | func.template operator()<MovementSpeedUnit>(); |
| 15 | func.template operator()<InvLengthUnit>(); |
| 16 | } |
| 17 | static void forAllAngleUnits( auto&& func ) |
| 18 | { |
| 19 | // All angle-related unit types must be listed here. |
no outgoing calls
no test coverage detected