annotate DEPENDENCIES/generic/include/boost/signals2/variadic_slot.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // Boost.Signals2 library
Chris@16 2
Chris@16 3 // Copyright Frank Mori Hess 2009.
Chris@16 4 //
Chris@16 5 // distribution is subject to the Boost Software License, Version
Chris@16 6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 7 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 8
Chris@16 9 // For more information, see http://www.boost.org
Chris@16 10
Chris@16 11 #ifndef BOOST_SIGNALS2_VARIADIC_SLOT_HPP
Chris@16 12 #define BOOST_SIGNALS2_VARIADIC_SLOT_HPP
Chris@16 13
Chris@16 14 #include <boost/signals2/detail/variadic_arg_type.hpp>
Chris@16 15
Chris@16 16 #define BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTORS \
Chris@16 17 template<typename A1, typename A2, typename ... BindArgs> \
Chris@16 18 slot(const A1 &arg1, const A2 &arg2, const BindArgs & ... args) \
Chris@16 19 { \
Chris@16 20 init_slot_function(boost::bind(arg1, arg2, args...)); \
Chris@16 21 }
Chris@16 22
Chris@16 23
Chris@16 24 #include <boost/signals2/detail/slot_template.hpp>
Chris@16 25 #endif // BOOST_SIGNALS2_VARIADIC_SLOT_HPP