Skip to content

Struct TempLat::GetGetReturnType

template <typename T>

ClassList > TempLat > GetGetReturnType

get(IterationCoordinates&) might be a function which returns a real value or a complex value. Sometimes we need to explicitly access what type it is. More...

  • #include <getgetreturntype.h>

Public Types

Type Name
typedef std::decay_t< decltype(TempLat::DoEval::eval_example(std::declval< std::decay_t< T > >()))> type

Public Static Attributes

Type Name
constexpr bool isComplex = IsComplexType&lt;type&gt;

Detailed Description

Unit test: ctest -R test-getgetreturntype

Public Types Documentation

typedef type

using TempLat::GetGetReturnType< T >::type =  std::decay_t<decltype(TempLat::DoEval::eval_example(std::declval<std::decay_t<T> >()))>;

Public Static Attributes Documentation

variable isComplex

constexpr bool TempLat::GetGetReturnType< T >::isComplex;


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/helpers/getgetreturntype.h