TiledArray  0.7.0
TiledArray::is_consumable_tile< T > Struct Template Reference

Consumable tile type trait. More...

#include <type_traits.h>

Inheritance diagram for TiledArray::is_consumable_tile< T >:
Collaboration diagram for TiledArray::is_consumable_tile< T >:

Detailed Description

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 406 of file type_traits.h.


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