|
TiledArray
0.7.0
|
Determine the object type used in the evaluation of tensor expressions. More...
#include <type_traits.h>


Additional Inherited Members | |
Public Types inherited from TiledArray::detail::eval_trait_base< T > | |
| typedef T | type |
Static Public Attributes inherited from TiledArray::detail::eval_trait_base< T > | |
| static constexpr bool | is_consumable |
| static constexpr bool | nonblocking |
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.
| T | The lazy tile type |
Definition at line 296 of file type_traits.h.