iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::promote< T1, T2, true > Struct Template Reference

#include <nrt/Core/Typing/Promotions.H>

template<class T1, class T2>
struct nrt::promote< T1, T2, true >

Specialization of nrt::promote for when a promotion will occur.

Definition at line 85 of file Promotions.H.

Public Attributes

decltype(x *y) typede type )
 The nrt::promote::type typedef is used to access the resulting type of the promotion.
 

Static Public Attributes

static bool const will_promote = !(std::is_same<type, T1>::value && std::is_same<type, T2>::value)
 Will the resulting type be a different type than the two original types?
 

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