| 24 | func.template operator()<RatioUnit>(); |
| 25 | } |
| 26 | static void forAllUnits( auto&& func ) |
| 27 | { |
| 28 | forAllLengthUnits( func ); |
| 29 | forAllAngleUnits( func ); |
| 30 | forAllRatioUnits( func ); |
| 31 | // All non-length/angle-related unit types must be listed here. |
| 32 | func.template operator()<NoUnit>(); |
| 33 | func.template operator()<TimeUnit>(); |
| 34 | func.template operator()<PixelSizeUnit>(); |
| 35 | } |
| 36 | |
| 37 | void resetToDefaults() |
| 38 | { |
no test coverage detected