TiledArray  0.7.0
TiledArray::detail::numeric_type< T, Enabler > Struct Template Reference

Type trait for extracting the numeric type of tensors and arrays. More...

#include <type_traits.h>

Detailed Description

template<typename T, typename Enabler = void>
struct TiledArray::detail::numeric_type< T, Enabler >

Type trait for extracting the numeric type of tensors and arrays.

Template Parameters
TThe type to extract a numeric type from
EnablerType used to selectively implement partial specializations
  1. if T is numeric, numeric_type<T>::type evaluates to T
  2. if T is not numeric and T::value_type is a valid type, will evaluate to numeric_type<T::value_type>::type, and so on recursively
  3. otherwise it's undefined

Definition at line 479 of file type_traits.h.


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