Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::math::tools::promote_args_2< T1, T2 > Struct Template Reference

#include <promotion.hpp>

Public Types

typedef promote_arg< T1 >::type T1P
 
typedef promote_arg< T2 >::type T2P
 
typedef mpl::if_< typename
mpl::and_< is_floating_point
< T1P >, is_floating_point
< T2P > >::type, typename
mpl::if_< typename mpl::or_
< is_same< long double, T1P >
, is_same< long double, T2P >
>::type, long double,
typename mpl::if_< typename
mpl::or_< is_same< double, T1P >
, is_same< double, T2P >
>::type, double, float >
::type >::type, typename
mpl::if_< typename mpl::and_
< mpl::not_< is_floating_point
< T2P >
>,::boost::is_convertible
< T1P, T2P > >, T2P, T1P >
::type >::type 
type
 

Member Typedef Documentation

template<class T1, class T2>
typedef promote_arg<T1>::type boost::math::tools::promote_args_2< T1, T2 >::T1P
template<class T1, class T2>
typedef promote_arg<T2>::type boost::math::tools::promote_args_2< T1, T2 >::T2P
template<class T1, class T2>
typedef mpl::if_< typename mpl::and_<is_floating_point<T1P>, is_floating_point<T2P> >::type, typename mpl::if_< typename mpl::or_<is_same<long double, T1P>, is_same<long double, T2P> >::type, long double, typename mpl::if_< typename mpl::or_<is_same<double, T1P>, is_same<double, T2P> >::type, double, float >::type >::type, typename mpl::if_< typename mpl::and_<mpl::not_<is_floating_point<T2P> >, ::boost::is_convertible<T1P, T2P> >, T2P, T1P>::type>::type boost::math::tools::promote_args_2< T1, T2 >::type

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