cisst-saw
Loading...
Searching...
No Matches
vctStoreBackBinaryOperations< _inputOutputType, _input2Type >::Swap Class Reference

Swap the values of input1, input2. More...

#include <vctStoreBackBinaryOperations.h>

Static Public Member Functions

static void Operate (InputOutputType &input1, InputOutputType &input2)

Detailed Description

template<class _inputOutputType, class _input2Type = _inputOutputType>
class vctStoreBackBinaryOperations< _inputOutputType, _input2Type >::Swap

Swap the values of input1, input2.

See also
vctStoreBackBinaryOperations Swap the values of input1 and input2. The operation has no return value. The operands have to be of the same type.

Member Function Documentation

◆ Operate()

template<class _inputOutputType, class _input2Type = _inputOutputType>
void vctStoreBackBinaryOperations< _inputOutputType, _input2Type >::Swap::Operate ( InputOutputType & input1,
InputOutputType & input2 )
inlinestatic

Execute the operation.

Parameters
input1First operand (input and output).
input2Second operand (input and output).

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