1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //////////////////////////////////////////////////////////////////////////////
- //
- // (C) Copyright Ion Gaztanaga 2014-2015. Distributed under the Boost
- // Software License, Version 1.0. (See accompanying file
- // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- //
- // See http://www.boost.org/libs/interprocess for documentation.
- //
- //////////////////////////////////////////////////////////////////////////////
- namespace std { //no namespace versioning in clang+libc++
- struct nothrow_t;
- } //namespace std {
- namespace boost{ namespace interprocess {
- template <int Dummy = 0>
- struct nothrow
- {
- static const std::nothrow_t &get() { return *pnothrow; }
- static std::nothrow_t *pnothrow;
- };
- template <int Dummy>
- std::nothrow_t *nothrow<Dummy>::pnothrow;
- }} //namespace boost{ namespace interprocess {
|