TiledArray::is_consumable_tile< T > Struct Template Reference
Inheritance diagram for TiledArray::is_consumable_tile< T >:
Collaboration diagram for TiledArray::is_consumable_tile< T >:

Documentation

template<typename T>
struct TiledArray::is_consumable_tile< T >

Consumable tile type trait.

This trait is used to determine if a tile type is consumable in tensor arithmetic operations. That is, temporary tiles may appear on the left- hand side of add-to (+=), subtract-to (-=), and multiply-to (*=) operations. By default, all tile types are assumed to be consumable except lazy tiles. Users should provide a (partial) specialization of this struct to disable consumable tile operations.

Template Parameters
TThe tile type

Definition at line 610 of file type_traits.h.


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