Imported Upstream version 1.49.0
[platform/upstream/boost.git] / boost / interprocess / detail / interprocess_tester.hpp
1 //////////////////////////////////////////////////////////////////////////////
2 //
3 // (C) Copyright Ion Gaztanaga 2007-2011. Distributed under the Boost
4 // Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // See http://www.boost.org/libs/interprocess for documentation.
8 //
9 //////////////////////////////////////////////////////////////////////////////
10
11 #ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP
12 #define BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP
13
14 namespace boost{
15 namespace interprocess{
16 namespace ipcdetail{
17
18 class interprocess_tester
19 {
20    public:
21    template<class T>
22    static void dont_close_on_destruction(T &t)
23    {  t.dont_close_on_destruction(); }
24 };
25
26 }  //namespace ipcdetail{
27 }  //namespace interprocess{
28 }  //namespace boost{
29
30 #endif   //#ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP
31