File indexing completed on 2025-01-18 09:38:30
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef BOOST_INTERPROCESS_BAD_WEAK_PTR_HPP_INCLUDED
0014 #define BOOST_INTERPROCESS_BAD_WEAK_PTR_HPP_INCLUDED
0015
0016 #ifndef BOOST_CONFIG_HPP
0017 # include <boost/config.hpp>
0018 #endif
0019 #
0020 #if defined(BOOST_HAS_PRAGMA_ONCE)
0021 # pragma once
0022 #endif
0023
0024 #include <boost/interprocess/detail/config_begin.hpp>
0025 #include <boost/interprocess/detail/workaround.hpp>
0026
0027 #ifndef BOOST_NO_EXCEPTIONS
0028 #include <exception>
0029 #endif
0030
0031 namespace boost{
0032 namespace interprocess{
0033
0034 class bad_weak_ptr
0035 : public std::exception
0036 {
0037 public:
0038
0039 virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE
0040 { return "boost::interprocess::bad_weak_ptr"; }
0041 };
0042
0043 }
0044 }
0045
0046 #include <boost/interprocess/detail/config_end.hpp>
0047
0048 #endif