/Src/Dependencies/Boost/boost/signals2/variadic_slot.hpp

http://hadesmem.googlecode.com/ · C++ Header · 24 lines · 10 code · 7 blank · 7 comment · 0 complexity · 312505dd6262e918ec0234282e65d029 MD5 · raw file

  1. // Boost.Signals2 library
  2. // Copyright Frank Mori Hess 2009.
  3. //
  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)
  7. // For more information, see http://www.boost.org
  8. #ifndef BOOST_SIGNALS2_VARIADIC_SLOT_HPP
  9. #define BOOST_SIGNALS2_VARIADIC_SLOT_HPP
  10. #include <boost/signals2/detail/variadic_arg_type.hpp>
  11. #define BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTORS \
  12. template<typename ... BindArgs> slot(const BindArgs & ... args) \
  13. { \
  14. init_slot_function(boost::bind(args...)); \
  15. }
  16. #include <boost/signals2/detail/slot_template.hpp>
  17. #endif // BOOST_SIGNALS2_VARIADIC_SLOT_HPP