Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/interprocess/detail/interprocess_tester.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 ////////////////////////////////////////////////////////////////////////////// |
Chris@16 | 2 // |
Chris@16 | 3 // (C) Copyright Ion Gaztanaga 2007-2012. Distributed under the Boost |
Chris@16 | 4 // Software License, Version 1.0. (See accompanying file |
Chris@16 | 5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 // |
Chris@16 | 7 // See http://www.boost.org/libs/interprocess for documentation. |
Chris@16 | 8 // |
Chris@16 | 9 ////////////////////////////////////////////////////////////////////////////// |
Chris@16 | 10 |
Chris@16 | 11 #ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP |
Chris@16 | 12 #define BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP |
Chris@16 | 13 |
Chris@101 | 14 #ifndef BOOST_CONFIG_HPP |
Chris@101 | 15 # include <boost/config.hpp> |
Chris@101 | 16 #endif |
Chris@101 | 17 # |
Chris@101 | 18 #if defined(BOOST_HAS_PRAGMA_ONCE) |
Chris@101 | 19 # pragma once |
Chris@101 | 20 #endif |
Chris@101 | 21 |
Chris@16 | 22 namespace boost{ |
Chris@16 | 23 namespace interprocess{ |
Chris@16 | 24 namespace ipcdetail{ |
Chris@16 | 25 |
Chris@16 | 26 class interprocess_tester |
Chris@16 | 27 { |
Chris@16 | 28 public: |
Chris@16 | 29 template<class T> |
Chris@16 | 30 static void dont_close_on_destruction(T &t) |
Chris@16 | 31 { t.dont_close_on_destruction(); } |
Chris@16 | 32 }; |
Chris@16 | 33 |
Chris@16 | 34 } //namespace ipcdetail{ |
Chris@16 | 35 } //namespace interprocess{ |
Chris@16 | 36 } //namespace boost{ |
Chris@16 | 37 |
Chris@16 | 38 #endif //#ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP |
Chris@16 | 39 |