SourceForge Logo Tiny Vector Matrix library using Expression Templates Sourceforge Project Page

tvmet::Fcnl_swap< T1, T2 > Class Template Reference

#include <tvmet/BinaryFunctionals.h>

Inheritance diagram for tvmet::Fcnl_swap< T1, T2 >:

Inheritance graph
[legend]
Collaboration diagram for tvmet::Fcnl_swap< T1, T2 >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T1, class T2>
class tvmet::Fcnl_swap< T1, T2 >

Binary operator for swapping values using temporaries.


Static Public Member Functions

static void apply_on (T1 &_tvmet_restrict lhs, T2 &_tvmet_restrict rhs)
static void print_xpr (std::ostream &os, std::size_t l=0)


Member Function Documentation

template<class T1, class T2>
static void tvmet::Fcnl_swap< T1, T2 >::apply_on ( T1 &_tvmet_restrict  lhs,
T2 &_tvmet_restrict  rhs 
) [inline, static]

template<class T1, class T2>
static void tvmet::Fcnl_swap< T1, T2 >::print_xpr ( std::ostream &  os,
std::size_t  l = 0 
) [inline, static]


Author: