Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::multiprecision::detail::is_lossy_conversion< From, To > Struct Template Reference

#include <is_restricted_conversion.hpp>

Public Types

typedef mpl::if_c
< ((number_category< From >
::value==number_kind_floating_point)&&(number_category
< To >::value==number_kind_integer))||((number_category
< From >::value==number_kind_rational)&&(number_category
< To >::value==number_kind_integer))||((number_category
< From >::value==number_kind_fixed_point)&&(number_category
< To >::value==number_kind_integer))||(number_category
< From >::value==number_kind_unknown)||(number_category
< To >::value==number_kind_unknown),
mpl::true_, mpl::false_ >
::type 
type
 

Static Public Attributes

static const bool value = type::value
 

Member Typedef Documentation

template<class From , class To >
typedef mpl::if_c< ((number_category<From>::value == number_kind_floating_point) && (number_category<To>::value == number_kind_integer)) || ((number_category<From>::value == number_kind_rational) && (number_category<To>::value == number_kind_integer)) || ((number_category<From>::value == number_kind_fixed_point) && (number_category<To>::value == number_kind_integer)) || (number_category<From>::value == number_kind_unknown) || (number_category<To>::value == number_kind_unknown), mpl::true_, mpl::false_ >::type boost::multiprecision::detail::is_lossy_conversion< From, To >::type

Member Data Documentation

template<class From , class To >
const bool boost::multiprecision::detail::is_lossy_conversion< From, To >::value = type::value
static

The documentation for this struct was generated from the following file: