casacore
Public Member Functions | List of all members
casacore::Plus< L, R, RES > Struct Template Reference

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

#include <Functors.h>

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::Plus< L, R, RES >

Functor to add variables of possibly different types.

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

Definition at line 175 of file Functors.h.

Member Function Documentation

◆ operator()()

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

Definition at line 177 of file Functors.h.


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