1 //////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2014-2015. 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)
7 // See http://www.boost.org/libs/interprocess for documentation.
9 //////////////////////////////////////////////////////////////////////////////
10 #ifndef BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP
11 #define BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP
13 #ifndef BOOST_CONFIG_HPP
14 # include <boost/config.hpp>
17 #if defined(BOOST_HAS_PRAGMA_ONCE)
21 namespace std { //no namespace versioning in clang+libc++
27 namespace boost{ namespace interprocess {
29 template <int Dummy = 0>
32 static const std::nothrow_t &get() { return *pnothrow; }
33 static std::nothrow_t *pnothrow;
37 std::nothrow_t *nothrow<Dummy>::pnothrow;
39 }} //namespace boost{ namespace interprocess {
41 #endif //#ifndef BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP