#include <complex>
#include <cml/core/cml_meta.h>
Go to the source code of this file.
Classes | |
struct | cml::et::detail::autopromote_trait< T > |
struct | cml::et::detail::precision_trait< T > |
struct | cml::et::detail::promote2< T1, T2, promoteToT1 > |
struct | cml::et::detail::promote2< T1, T2, 0 > |
struct | cml::et::detail::promote_trait< T1_orig, T2_orig > |
struct | cml::et::ScalarPromote< E1, E2 > |
Defers to detail::promote_trait<>. More... | |
Namespaces | |
namespace | cml |
namespace | cml::et |
namespace | cml::et::detail |
Defines | |
#define | DECLARE_AUTOPROMOTE(T1, T2) |
#define | DECLARE_PRECISION(T, rank) |
Definition in file scalar_promotions.h.
#define DECLARE_AUTOPROMOTE | ( | T1, | |||
T2 | ) |
Value:
template<> \ struct autopromote_trait<T1> { \ typedef T2 T_numtype; \ };
Definition at line 63 of file scalar_promotions.h.
#define DECLARE_PRECISION | ( | T, | |||
rank | ) |
Value:
template<> \ struct precision_trait< T > { \ enum { precisionRank = rank, \ knowPrecisionRank = 1 }; \ };
Definition at line 36 of file scalar_promotions.h.