All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::detail::PromoteTrait< T1_orig, T2_orig > Struct Template Reference

#include <roboptim/core/detail/autopromote.hh>

Public Types

enum  
 
enum  { promoteToT1 = (T1IsBetter) ? false : true }
 
typedef AutopromoteTrait
< T1_orig >::T_type 
T1
 
typedef AutopromoteTrait
< T2_orig >::T_type 
T2
 
typedef promote2< T1, T2,
promoteToT1 >::T_promote 
T_promote
 

Public Member Functions

 BOOST_MPL_ASSERT ((boost::mpl::bool_< knowBothRanks >))
 

Member Typedef Documentation

template<class T1_orig, class T2_orig>
typedef AutopromoteTrait<T1_orig>::T_type roboptim::detail::PromoteTrait< T1_orig, T2_orig >::T1
template<class T1_orig, class T2_orig>
typedef AutopromoteTrait<T2_orig>::T_type roboptim::detail::PromoteTrait< T1_orig, T2_orig >::T2
template<class T1_orig, class T2_orig>
typedef promote2<T1, T2, promoteToT1>::T_promote roboptim::detail::PromoteTrait< T1_orig, T2_orig >::T_promote

Member Enumeration Documentation

template<class T1_orig, class T2_orig>
anonymous enum
template<class T1_orig, class T2_orig>
anonymous enum
Enumerator
promoteToT1 

Member Function Documentation

template<class T1_orig, class T2_orig>
roboptim::detail::PromoteTrait< T1_orig, T2_orig >::BOOST_MPL_ASSERT ( (boost::mpl::bool_< knowBothRanks >)  )