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

#include <qdp.h>

Public Member Functions

 Scalar ()
 Scalar (const T &t)
template<class T1>
 Scalar (const T1 &t)
template<class Arg>
 Scalar (const Scalar< T > &s, const Arg &)
template<class Arg1, class Arg2>
 Scalar (const Scalar< T > &s, const Arg1 &, const Arg2 &)
 Scalar (const Scalar< T > &s)
const T & value () const
Scalar< T > & operator= (const Scalar< T > &rhs)
Scalar< T > & operator= (const T &rhs)

Detailed Description

template<class T>
class QDP::Scalar< T >

Definition at line 50 of file qdp.h.

Constructor & Destructor Documentation

◆ Scalar() [1/6]

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

Definition at line 58 of file qdp.h.

◆ Scalar() [2/6]

template<class T>
QDP::Scalar< T >::Scalar ( const T & t)
inline

Definition at line 64 of file qdp.h.

◆ Scalar() [3/6]

template<class T>
template<class T1>
QDP::Scalar< T >::Scalar ( const T1 & t)
inlineexplicit

Definition at line 68 of file qdp.h.

◆ Scalar() [4/6]

template<class T>
template<class Arg>
QDP::Scalar< T >::Scalar ( const Scalar< T > & s,
const Arg &  )
inline

Definition at line 77 of file qdp.h.

◆ Scalar() [5/6]

template<class T>
template<class Arg1, class Arg2>
QDP::Scalar< T >::Scalar ( const Scalar< T > & s,
const Arg1 & ,
const Arg2 &  )
inline

Definition at line 82 of file qdp.h.

◆ Scalar() [6/6]

template<class T>
QDP::Scalar< T >::Scalar ( const Scalar< T > & s)
inline

Definition at line 89 of file qdp.h.

Member Function Documentation

◆ operator=() [1/2]

template<class T>
Scalar< T > & QDP::Scalar< T >::operator= ( const Scalar< T > & rhs)
inline

Definition at line 101 of file qdp.h.

◆ operator=() [2/2]

template<class T>
Scalar< T > & QDP::Scalar< T >::operator= ( const T & rhs)
inline

Definition at line 109 of file qdp.h.

◆ value()

template<class T>
const T & QDP::Scalar< T >::value ( ) const
inline

Definition at line 95 of file qdp.h.


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