]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | ////////////////////////////////////////////////////////////////////////////// |
2 | // | |
3 | // (C) Copyright Ion Gaztanaga 2007-2012. 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 | #ifndef BOOST_CONFIG_HPP | |
15 | # include <boost/config.hpp> | |
16 | #endif | |
17 | # | |
18 | #if defined(BOOST_HAS_PRAGMA_ONCE) | |
19 | # pragma once | |
20 | #endif | |
21 | ||
22 | namespace boost{ | |
23 | namespace interprocess{ | |
24 | namespace ipcdetail{ | |
25 | ||
26 | class interprocess_tester | |
27 | { | |
28 | public: | |
29 | template<class T> | |
30 | static void dont_close_on_destruction(T &t) | |
31 | { t.dont_close_on_destruction(); } | |
32 | }; | |
33 | ||
34 | } //namespace ipcdetail{ | |
35 | } //namespace interprocess{ | |
36 | } //namespace boost{ | |
37 | ||
38 | #endif //#ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP | |
39 |