Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-30 08:26:15

0001 #ifndef BOOST_INTERPROCESS_DETAIL_SWAP_HPP
0002 #define BOOST_INTERPROCESS_DETAIL_SWAP_HPP
0003 //////////////////////////////////////////////////////////////////////////////
0004 //
0005 // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost
0006 // Software License, Version 1.0. (See accompanying file
0007 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 // See http://www.boost.org/libs/interprocess for documentation.
0010 //
0011 //////////////////////////////////////////////////////////////////////////////
0012 
0013 #ifndef BOOST_CONFIG_HPP
0014 #  include <boost/config.hpp>
0015 #endif
0016 0017 ">#
0018 #if defined(BOOST_HAS_PRAGMA_ONCE)
0019 #  pragma once
0020 #endif
0021 
0022 namespace boost { namespace interprocess {
0023 
0024 template<class T>
0025 void simple_swap(T&x, T&y)
0026 {  T tmp(x); x = y; y = tmp;  }
0027 
0028 }}  //namespace boost{ namespace interprocess {
0029 
0030 #endif //#ifndef BOOST_INTERPROCESS_DETAIL_SWAP_HPP