Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/signals2/expired_slot.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 // Boost.Signals2 library | |
2 | |
3 // Copyright Frank Mori Hess 2007-2010. | |
4 // Use, modification and | |
5 // distribution is subject to the Boost Software License, Version | |
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
7 // http://www.boost.org/LICENSE_1_0.txt) | |
8 | |
9 // For more information, see http://www.boost.org | |
10 | |
11 #ifndef BOOST_SIGNALS2_EXPIRED_SLOT_HPP | |
12 #define BOOST_SIGNALS2_EXPIRED_SLOT_HPP | |
13 | |
14 #include <boost/smart_ptr/bad_weak_ptr.hpp> | |
15 | |
16 namespace boost | |
17 { | |
18 namespace signals2 | |
19 { | |
20 class expired_slot: public bad_weak_ptr | |
21 { | |
22 public: | |
23 virtual char const * what() const throw() | |
24 { | |
25 return "boost::signals2::expired_slot"; | |
26 } | |
27 }; | |
28 } | |
29 } // end namespace boost | |
30 | |
31 #endif // BOOST_SIGNALS2_EXPIRED_SLOT_HPP |