Swap.h
Go to the documentation of this file.
1#ifndef GfxTL__SWAP_HEADER__
2#define GfxTL__SWAP_HEADER__
3#include <algorithm>
4
5namespace GfxTL
6{
7
8 template <class ContainerT, class HandleT>
9 void
10 Swap(HandleT a, HandleT b, ContainerT* container)
11 {
12 using namespace std;
13 swap(container->at(a), container->at(b));
14 }
15
16}; // namespace GfxTL
17
18#endif
Definition AABox.h:10
void Swap(HandleT a, HandleT b, ContainerT *container)
Definition Swap.h:10