QMCPACK
OpCast< T1 > Struct Template Reference
+ Collaboration diagram for OpCast< T1 >:

Public Member Functions

template<class T2 >
UnaryReturn< T2, OpCast< T1 > > operator() (const T2 &a) const
 

Detailed Description

template<class T1>
struct qmcplusplus::OpCast< T1 >

Definition at line 267 of file OperatorTags.h.

Member Function Documentation

◆ operator()()

UnaryReturn<T2, OpCast<T1> > operator() ( const T2 &  a) const
inline

Definition at line 271 of file OperatorTags.h.

272  {
273  return T1(a);
274  }

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