interprocess_tester.hpp 937 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP
  11. #define BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP
  12. namespace boost{
  13. namespace interprocess{
  14. namespace ipcdetail{
  15. class interprocess_tester
  16. {
  17. public:
  18. template<class T>
  19. static void dont_close_on_destruction(T &t)
  20. { t.dont_close_on_destruction(); }
  21. };
  22. } //namespace ipcdetail{
  23. } //namespace interprocess{
  24. } //namespace boost{
  25. #endif //#ifndef BOOST_INTERPROCESS_DETAIL_INTERPROCESS_TESTER_HPP