Chris@102: ////////////////////////////////////////////////////////////////////////////// Chris@102: // Chris@102: // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost Chris@102: // Software License, Version 1.0. (See accompanying file Chris@102: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@102: // Chris@102: // See http://www.boost.org/libs/interprocess for documentation. Chris@102: // Chris@102: ////////////////////////////////////////////////////////////////////////////// Chris@102: #ifndef BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP Chris@102: #define BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP Chris@102: Chris@102: #ifndef BOOST_CONFIG_HPP Chris@102: # include Chris@102: #endif Chris@102: # Chris@102: #if defined(BOOST_HAS_PRAGMA_ONCE) Chris@102: # pragma once Chris@102: #endif Chris@102: Chris@102: namespace std { //no namespace versioning in clang+libc++ Chris@102: Chris@102: struct nothrow_t; Chris@102: Chris@102: } //namespace std { Chris@102: Chris@102: namespace boost{ namespace interprocess { Chris@102: Chris@102: template Chris@102: struct nothrow Chris@102: { Chris@102: static const std::nothrow_t &get() { return *pnothrow; } Chris@102: static std::nothrow_t *pnothrow; Chris@102: }; Chris@102: Chris@102: template Chris@102: std::nothrow_t *nothrow::pnothrow; Chris@102: Chris@102: }} //namespace boost{ namespace interprocess { Chris@102: Chris@102: #endif //#ifndef BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP