]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/interprocess/include/boost/interprocess/smart_ptr/detail/bad_weak_ptr.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / interprocess / include / boost / interprocess / smart_ptr / detail / bad_weak_ptr.hpp
1 //////////////////////////////////////////////////////////////////////////////
2 //
3 // This file is the adaptation for Interprocess of boost/detail/bad_weak_ptr.hpp
4 //
5 // (C) Copyright Peter Dimov and Multi Media Ltd. 2001, 2002, 2003
6 // (C) Copyright Ion Gaztanaga 2006. Distributed under the Boost
7 // Software License, Version 1.0. (See accompanying file
8 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 // See http://www.boost.org/libs/interprocess for documentation.
11 //
12 //////////////////////////////////////////////////////////////////////////////
13 #ifndef BOOST_INTERPROCESS_BAD_WEAK_PTR_HPP_INCLUDED
14 #define BOOST_INTERPROCESS_BAD_WEAK_PTR_HPP_INCLUDED
15
16 #ifndef BOOST_CONFIG_HPP
17 # include <boost/config.hpp>
18 #endif
19 #
20 #if defined(BOOST_HAS_PRAGMA_ONCE)
21 # pragma once
22 #endif
23
24 #include <boost/interprocess/detail/config_begin.hpp>
25 #include <boost/interprocess/detail/workaround.hpp>
26
27 #ifndef BOOST_NO_EXCEPTIONS
28 #include <exception>
29 #endif
30
31 namespace boost{
32 namespace interprocess{
33
34 class bad_weak_ptr
35 : public std::exception
36 {
37 public:
38
39 virtual char const * what() const throw()
40 { return "boost::interprocess::bad_weak_ptr"; }
41 };
42
43 } // namespace interprocess
44 } // namespace boost
45
46 #include <boost/interprocess/detail/config_end.hpp>
47
48 #endif // #ifndef BOOST_INTERPROCESS_BAD_WEAK_PTR_HPP_INCLUDED