1
0
mirror of https://github.com/PurpleI2P/Boost-for-Android-Prebuilt synced 2025-01-08 22:08:01 +00:00
Boost-for-Android-Prebuilt/boost-1_72_0/include/boost/signals2/variadic_slot.hpp
r4sas 93de5720b8
add boost 1.72.0
Signed-off-by: r4sas <r4sas@i2pmail.org>
2020-02-29 22:43:48 +00:00

26 lines
772 B
C++

// 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 A1, typename A2, typename ... BindArgs> \
slot(const A1 &arg1, const A2 &arg2, const BindArgs & ... args) \
{ \
init_slot_function(boost::bind(arg1, arg2, args...)); \
}
#include <boost/signals2/detail/slot_template.hpp>
#endif // BOOST_SIGNALS2_VARIADIC_SLOT_HPP