You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
24 lines
696 B
24 lines
696 B
// Boost.Signals2 library |
|
|
|
// Copyright Frank Mori Hess 2009. |
|
// |
|
// distribution is subject to 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) |
|
|
|
// For more information, see http://www.boost.org |
|
|
|
#ifndef BOOST_SIGNALS2_VARIADIC_SLOT_HPP |
|
#define BOOST_SIGNALS2_VARIADIC_SLOT_HPP |
|
|
|
#include <boost/signals2/detail/variadic_arg_type.hpp> |
|
|
|
#define BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTORS \ |
|
template<typename ... BindArgs> slot(const BindArgs & ... args) \ |
|
{ \ |
|
init_slot_function(boost::bind(args...)); \ |
|
} |
|
|
|
|
|
#include <boost/signals2/detail/slot_template.hpp> |
|
#endif // BOOST_SIGNALS2_VARIADIC_SLOT_HPP
|
|
|