SUNphi
1.0
|
Defines a class which defines a reference to another SmET. More...
#include <smet/BaseSmET.hpp>
Go to the source code of this file.
Macros | |
#define | PROVIDE_SMET_REF(NUM) |
Provide the reference to the object. More... | |
Typedefs | |
template<typename T , typename = ConstrainIsSmET<T>, bool IsStoring = Unqualified<T>::isStoring, bool IsLvalue = isLvalue<T>> | |
using | SUNphi::Reference = RefIf< IsStoring and IsLvalue, RemRef< T >> |
Defines a class which defines a reference to another SmET.
Definition in file Reference.hpp.
#define PROVIDE_SMET_REF | ( | NUM | ) |
Provide the reference to the object.
Definition at line 29 of file Reference.hpp.
using SUNphi::Reference = typedef RefIf<IsStoring and IsLvalue,RemRef<T>> |
Reference to T or new type, depending on wheter the class isStoring
Const qualifier is passed throughout
Definition at line 24 of file Reference.hpp.