summaryrefslogtreecommitdiff
path: root/ace/Swap.inl
blob: b1139ca3ffb8477792a4e6b36226cf8f3f3911e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * @file Swap.inl
 *
 * $Id$
 *
 * @author Carlos O'Ryan <coryan@uci.edu>
 */

template<class T> ACE_INLINE void
ACE_Swap<T>::swap (T &lhs, T& rhs)
{
  T tmp = lhs;
  lhs = rhs;
  rhs = tmp;
}