Warning, file /include/boost/interprocess/detail/nothrow.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP
0011 #define BOOST_INTERPROCESS_DETAIL_NOTHROW_HPP
0012
0013 #ifndef BOOST_CONFIG_HPP
0014 # include <boost/config.hpp>
0015 #endif
0016 #
0017 #if defined(BOOST_HAS_PRAGMA_ONCE)
0018 # pragma once
0019 #endif
0020
0021 namespace std {
0022
0023 struct nothrow_t;
0024
0025 }
0026
0027 namespace boost{ namespace interprocess {
0028
0029 template <int Dummy = 0>
0030 struct nothrow
0031 {
0032 static const std::nothrow_t &get() { return *pnothrow; }
0033 static std::nothrow_t *pnothrow;
0034 };
0035
0036 template <int Dummy>
0037 std::nothrow_t *nothrow<Dummy>::pnothrow =
0038 reinterpret_cast<std::nothrow_t *>(0x1234);
0039
0040 }}
0041
0042 #endif