⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bad_weak_ptr.hpp

📁 system C源码 一种替代verilog的语言
💻 HPP
字号:
#ifndef BOOST_BAD_WEAK_PTR_HPP_INCLUDED#define BOOST_BAD_WEAK_PTR_HPP_INCLUDED// MS compatible compilers support #pragma once#if defined(_MSC_VER) && (_MSC_VER >= 1020)# pragma once#endif////  detail/bad_weak_ptr.hpp////  Copyright (c) 2001, 2002, 2003 Peter Dimov and Multi Media Ltd.//// 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)//#include <exception>#ifdef __BORLANDC__# pragma warn -8026     // Functions with excep. spec. are not expanded inline#endifnamespace boost{// The standard library that comes with Borland C++ 5.5.1, 5.6.4// defines std::exception and its members as having C calling// convention (-pc). When the definition of bad_weak_ptr// is compiled with -ps, the compiler issues an error.// Hence, the temporary #pragma option -pc below.#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564# pragma option push -pc#endifclass bad_weak_ptr: public std::exception{public:    virtual char const * what() const throw()    {        return "boost::bad_weak_ptr";    }};#if defined(__BORLANDC__) && __BORLANDC__ <= 0x564# pragma option pop#endif} // namespace boost#ifdef __BORLANDC__# pragma warn .8026     // Functions with excep. spec. are not expanded inline#endif#endif  // #ifndef BOOST_BAD_WEAK_PTR_HPP_INCLUDED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -