Welcome to mirror list, hosted at ThFree Co, Russian Federation.

swap.hpp « base - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d817e3ff67448b136c81de25579a77f570aa13a (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "std/algorithm.hpp"

// Calls swap() function using argument dependant lookup.
// Do NOT override this function, but override swap() function instead!
template <typename T> inline void Swap(T & a, T & b)
{
  using std::swap;
  swap(a, b);
}