Template Struct is_safe_integer_conversion

Inheritance Relationships

Base Type

  • public std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&sizeof(From)<=sizeof(To) &&std::is_signed< From >::value==std::is_signed< To >::value > {};template< From, To > struct float_conversion :std::integral_constant< bool, std::is_floating_point< From >::value &&std::is_floating_point< To >::value &&!std::is_same< From, To >::value > {};template< From, To > struct unsigned_to_smaller_conversion :std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&(sizeof(From) > sizeof(To)) &&!std::is_signed< From >::value &&!std::is_signed< To >::value > {};template< From, To > struct signed_to_smaller_conversion :std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&(sizeof(From) > sizeof(To)) &&std::is_signed< From >::value &&std::is_signed< To >::value > {};template< From, To > struct signed_to_smaller_unsigned_conversion :std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&sizeof(From) >=sizeof(To) &&std::is_signed< From >::value &&!std::is_signed< To >::value >

Struct Documentation

template<typename From, typename To> RosMsgParser::details::is_safe_integer_conversion : public std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&sizeof(From)<=sizeof(To) &&std::is_signed< From >::value==std::is_signed< To >::value > {};template< From, To > struct float_conversion :std::integral_constant< bool, std::is_floating_point< From >::value &&std::is_floating_point< To >::value &&!std::is_same< From, To >::value > {};template< From, To > struct unsigned_to_smaller_conversion :std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&(sizeof(From) > sizeof(To)) &&!std::is_signed< From >::value &&!std::is_signed< To >::value > {};template< From, To > struct signed_to_smaller_conversion :std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&(sizeof(From) > sizeof(To)) &&std::is_signed< From >::value &&std::is_signed< To >::value > {};template< From, To > struct signed_to_smaller_unsigned_conversion :std::integral_constant< bool, is_integer< From >::value &&is_integer< To >::value &&sizeof(From) >=sizeof(To) &&std::is_signed< From >::value &&!std::is_signed< To >::value >