Me neither. However, you don't need to use BOOST_TYPEOF. It would be simpler to write: decltype(nautical_miles / hours)