PageRenderTime 24ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 3// Copyright Frank Mori Hess 2009.
 4//
 5// distribution is subject to the Boost Software License, Version
 6// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 7// http://www.boost.org/LICENSE_1_0.txt)
 8
 9// For more information, see http://www.boost.org
10
11#ifndef BOOST_SIGNALS2_VARIADIC_SLOT_HPP
12#define BOOST_SIGNALS2_VARIADIC_SLOT_HPP
13
14#include <boost/signals2/detail/variadic_arg_type.hpp>
15
16#define BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTORS \
17  template<typename ... BindArgs> slot(const BindArgs & ... args) \
18  { \
19    init_slot_function(boost::bind(args...)); \
20  }
21
22
23#include <boost/signals2/detail/slot_template.hpp>
24#endif // BOOST_SIGNALS2_VARIADIC_SLOT_HPP