1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED
- #define BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- # pragma once
- #endif
- #include <exception>
- #ifdef __BORLANDC__
- # pragma warn -8026 // Functions with excep. spec. are not expanded inline
- #endif
- namespace boost
- {
- #if defined(__BORLANDC__) && __BORLANDC__ <= 0x564
- # pragma option push -pc
- #endif
- class bad_weak_ptr: public std::exception
- {
- public:
- virtual char const * what() const throw()
- {
- return "tr1::bad_weak_ptr";
- }
- };
- #if defined(__BORLANDC__) && __BORLANDC__ <= 0x564
- # pragma option pop
- #endif
- }
- #ifdef __BORLANDC__
- # pragma warn .8026 // Functions with excep. spec. are not expanded inline
- #endif
- #endif // #ifndef BOOST_SMART_PTR_BAD_WEAK_PTR_HPP_INCLUDED
|