QDP++
QDP::Word< T > Class Template Reference

Word class - builtin machine word type. More...

#include <qdp_word.h>

Public Member Functions

 Word ()
 ~Word ()
 Word (const T &rhs)
 dest = float
 Word (const Word &a)
T & elem ()
const T & elem () const

Detailed Description

template<class T>
class QDP::Word< T >

Word class - builtin machine word type.

A template class wrapper for the actual machine primitive. NOTE: with inlining code optimization looks good even with a wrapper

Definition at line 21 of file qdp_word.h.

Constructor & Destructor Documentation

◆ Word() [1/3]

template<class T>
QDP::Word< T >::Word ( )
inline

Definition at line 24 of file qdp_word.h.

Referenced by Word().

◆ ~Word()

template<class T>
QDP::Word< T >::~Word ( )
inline

Definition at line 25 of file qdp_word.h.

◆ Word() [2/3]

template<class T>
QDP::Word< T >::Word ( const T & rhs)
inlineexplicit

dest = float

Definition at line 28 of file qdp_word.h.

◆ Word() [3/3]

template<class T>
QDP::Word< T >::Word ( const Word< T > & a)
inline

Hide copy constructor to prevent copying

Definition at line 32 of file qdp_word.h.

References Word().

Member Function Documentation

◆ elem() [1/2]

template<class T>
T & QDP::Word< T >::elem ( )
inline

◆ elem() [2/2]

template<class T>
const T & QDP::Word< T >::elem ( ) const
inline

Definition at line 36 of file qdp_word.h.


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