boost::units::unary_minus_typeof_helper
// In header: <boost/units/operators.hpp> template<typename X> struct unary_minus_typeof_helper { // public member functions typedef typeof((-typeof_::make< X >())); };
unary_minus_typeof_helper
typedef typeof((-typeof_::make< X >()));