Chris@16: // Boost.Signals2 library Chris@16: Chris@16: // Copyright Frank Mori Hess 2007-2010. Chris@16: // Use, modification and Chris@16: // distribution is subject to the Boost Software License, Version Chris@16: // 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // For more information, see http://www.boost.org Chris@16: Chris@16: #ifndef BOOST_SIGNALS2_EXPIRED_SLOT_HPP Chris@16: #define BOOST_SIGNALS2_EXPIRED_SLOT_HPP Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost Chris@16: { Chris@16: namespace signals2 Chris@16: { Chris@16: class expired_slot: public bad_weak_ptr Chris@16: { Chris@16: public: Chris@16: virtual char const * what() const throw() Chris@16: { Chris@16: return "boost::signals2::expired_slot"; Chris@16: } Chris@16: }; Chris@16: } Chris@16: } // end namespace boost Chris@16: Chris@16: #endif // BOOST_SIGNALS2_EXPIRED_SLOT_HPP