casacore::Minus< L, R, RES > Struct Template Reference

Functor to subtract variables of possibly different types. More...

#include <Functors.h>

List of all members.

Public Member Functions

RES operator() (const L &x, const R &y) const

Detailed Description

template<typename L, typename R = L, typename RES = L>
struct casacore::Minus< L, R, RES >

Functor to subtract variables of possibly different types.

This is unlike std::minus which requires equal types.

Definition at line 184 of file Functors.h.


Member Function Documentation

template<typename L , typename R = L, typename RES = L>
RES casacore::Minus< L, R, RES >::operator() ( const L &  x,
const R &  y 
) const [inline]

Definition at line 186 of file Functors.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1