Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Saf::Algo::SwapFunc< T > Struct Template Reference

Swap functor. More...

#include <Swap.h>

List of all members.

Public Member Functions

void operator() (T &var1, T &var2)

Detailed Description

template<class T>
struct Saf::Algo::SwapFunc< T >

Swap functor.

This functor is used in Saf::Algo::Swap() function to perform swap of two variables. Specialize this class to implement custom swap functionality.

See also:
Swap.

Member Function Documentation

template<class T>
void Saf::Algo::SwapFunc< T >::operator() ( T &  var1,
T &  var2 
) [inline]

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