QMCPACK
OpUnaryMinus Struct Reference
+ Collaboration diagram for OpUnaryMinus:

Public Member Functions

template<class T >
UnaryReturn< T, OpUnaryMinus >::Type_t operator() (const T &a) const
 

Detailed Description

Definition at line 210 of file OperatorTags.h.

Member Function Documentation

◆ operator()()

UnaryReturn<T, OpUnaryMinus>::Type_t operator() ( const T &  a) const
inline

Definition at line 214 of file OperatorTags.h.

215  {
216  return (-a);
217  }

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