1 // Copyright Frank Mori Hess 2007-2009
3 // Use, modification and
4 // distribution is subject to the Boost Software License, Version
5 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 // For more information, see http://www.boost.org
10 #ifndef BOOST_SIGNALS2_DETAIL_REPLACE_SLOT_FUNCTION_HPP
11 #define BOOST_SIGNALS2_DETAIL_REPLACE_SLOT_FUNCTION_HPP
13 #include <boost/signals2/slot_base.hpp>
21 template<typename ResultSlot, typename SlotIn, typename SlotFunction>
22 ResultSlot replace_slot_function(const SlotIn &slot_in, const SlotFunction &fun)
29 } // namespace signals2
32 #endif // BOOST_SIGNALS2_DETAIL_REPLACE_SLOT_FUNCTION_HPP