TiledArray::detail::TraceIsDefined< T, Enabler > Struct Template Reference
Inheritance diagram for TiledArray::detail::TraceIsDefined< T, Enabler >:
Collaboration diagram for TiledArray::detail::TraceIsDefined< T, Enabler >:

Documentation

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

Struct for determining if the trace of a tile of type T is defined.

This struct allows us to determine at compile-time whether or not we can take the trace of a particular tile type T. This struct contains a static bool member value, which will be true if we have a routine for taking the trace of a tile of type T and false otherwise. When adding a new tile type to TiledArray you are responsible for specializing TraceIsDefined for your tile type.

Template Parameters
TThe type of the tile we are trying to take the trace of.
EnablerAn extra template parameter, which can be used in specializations for SFINAE.

Definition at line 47 of file trace.h.


The documentation for this struct was generated from the following file:
  • TiledArray/tile_interface/trace.h