QDP++
QDP::Reference< T > Struct Template Reference

#include <qdp.h>

Public Types

typedef T Type_t

Public Member Functions

 Reference (const T &reference)
 Reference (const Reference< T > &model)
const T & reference () const
 operator const T & () const
 operator T& () const

Public Attributes

const T & reference_m

Detailed Description

template<class T>
struct QDP::Reference< T >

Definition at line 55 of file qdp.h.

Member Typedef Documentation

◆ Type_t

template<class T>
typedef T QDP::Reference< T >::Type_t

Definition at line 60 of file qdp.h.

Constructor & Destructor Documentation

◆ Reference() [1/2]

template<class T>
QDP::Reference< T >::Reference ( const T & reference)
inline

Definition at line 66 of file qdp.h.

◆ Reference() [2/2]

template<class T>
QDP::Reference< T >::Reference ( const Reference< T > & model)
inline

Definition at line 74 of file qdp.h.

Member Function Documentation

◆ operator const T &()

template<class T>
QDP::Reference< T >::operator const T & ( ) const
inline

Definition at line 90 of file qdp.h.

◆ operator T&()

template<class T>
QDP::Reference< T >::operator T& ( ) const
inline

Definition at line 91 of file qdp.h.

◆ reference()

Member Data Documentation

◆ reference_m

template<class T>
const T& QDP::Reference< T >::reference_m

Definition at line 94 of file qdp.h.


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