Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-13 08:49:32

0001 //////////////////////////////////////////////////////////////////////////////
0002 //
0003 // This file is the adaptation for Interprocess of boost/detail/bad_weak_ptr.hpp
0004 //
0005 // (C) Copyright Peter Dimov and Multi Media Ltd. 2001, 2002, 2003
0006 // (C) Copyright Ion Gaztanaga 2006. Distributed under the Boost
0007 // Software License, Version 1.0. (See accompanying file
0008 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0009 //
0010 // See http://www.boost.org/libs/interprocess for documentation.
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 ">#
0021 #if defined(BOOST_HAS_PRAGMA_ONCE)
0022 # pragma once
0023 #endif
0024 
0025 #include <boost/interprocess/detail/config_begin.hpp>
0026 #include <boost/interprocess/detail/workaround.hpp>
0027 
0028 #ifndef BOOST_NO_EXCEPTIONS
0029 #include <exception>
0030 #endif
0031 
0032 namespace boost{
0033 namespace interprocess{
0034 
0035 class bad_weak_ptr
0036    :  public std::exception
0037 {
0038    public:
0039 
0040    virtual char const * what() const BOOST_NOEXCEPT_OR_NOTHROW BOOST_OVERRIDE
0041    {  return "boost::interprocess::bad_weak_ptr"; }
0042 };
0043 
0044 } // namespace interprocess
0045 } // namespace boost
0046 
0047 #include <boost/interprocess/detail/config_end.hpp>
0048 
0049 #endif  // #ifndef BOOST_INTERPROCESS_BAD_WEAK_PTR_HPP_INCLUDED