libUTL++
utl::subtractReverse< T > Struct Template Reference

Reverse subtraction function. More...

#include <algorithms_inl.h>

Inheritance diagram for utl::subtractReverse< T >:

Public Member Functions

operator() (const T &lhs, const T &rhs) const
 Return the result of (rhs - lhs). More...
 

Detailed Description

template<class T>
struct utl::subtractReverse< T >

Reverse subtraction function.

Definition at line 49 of file algorithms_inl.h.

Member Function Documentation

◆ operator()()

template<class T >
T utl::subtractReverse< T >::operator() ( const T &  lhs,
const T &  rhs 
) const
inline

Return the result of (rhs - lhs).

Returns
rhs - lhs
Parameters
lhsleft-hand-side parameter
rhsright-hand-side parameter

Definition at line 57 of file algorithms_inl.h.


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