TiledArray::eval_trait< T > Struct Template Reference
Documentation
template<typename T>
struct TiledArray::eval_trait< T >
Determine the object type used in the evaluation of tensor expressions.
This trait class allows user to specify the object type used in an expression by providing a (partial) template specialization of this class for a user defined tile types. The default implementation uses T::eval_type
the evaluation type, if no specialization has been provided. If no specialization is provided and the tile does not define an eval_type
, the tile is not treated as a lazy tile. This class also provides the is_consumable
flag that indicates if the evaluated tile object is consumable.
- Template Parameters
-
T The lazy tile type
Definition at line 580 of file type_traits.h.
The documentation for this struct was generated from the following file:
- TiledArray/type_traits.h