Swap.h
Go to the documentation of this file.
1 #ifndef GfxTL__SWAP_HEADER__
2 #define GfxTL__SWAP_HEADER__
3 #include <algorithm>
4 
5 namespace GfxTL
6 {
7 
8  template< class ContainerT, class HandleT >
9  void Swap(HandleT a, HandleT b, ContainerT* container)
10  {
11  using namespace std;
12  swap(container->at(a), container->at(b));
13  }
14 
15 };
16 
17 #endif
armarx::armem::client::util::swap
void swap(SubscriptionHandle &first, SubscriptionHandle &second)
Definition: SubscriptionHandle.cpp:66
armarx::ctrlutil::a
double a(double t, double a0, double j)
Definition: CtrlUtil.h:45
GfxTL
Definition: AABox.h:8
std
Definition: Application.h:66
GfxTL::Swap
void Swap(HandleT a, HandleT b, ContainerT *container)
Definition: Swap.h:9