forked from boostorg/function
- Updated any_pointer and manager classes to deal with member function pointers directly, so no allocation is required when using them. - Removed include of boost/mem_fn.hpp function_template.hpp: - Many macros that were in the functionN.hpp headers have been moved here and are now generated on-the-fly using BOOST_JOIN - Added invokers for pointers to member functions - Revised pointer to member function handling code to not perform any allocations/deallocations - Added guards so that multiple inclusion of function_template.hpp will only include its dependencies once. functionN.hpp: - Headers regenerated [SVN r11729]
38 lines
1.6 KiB
C++
38 lines
1.6 KiB
C++
// Boost.Function library
|
|
//
|
|
// Copyright (C) 2001 Doug Gregor (gregod@cs.rpi.edu)
|
|
//
|
|
// Permission to copy, use, sell and distribute this software is granted
|
|
// provided this copyright notice appears in all copies.
|
|
// Permission to modify the code and to distribute modified code is granted
|
|
// provided this copyright notice appears in all copies, and a notice
|
|
// that the code was modified is included with the copyright notice.
|
|
//
|
|
// This software is provided "as is" without express or implied warranty,
|
|
// and with no claim as to its suitability for any purpose.
|
|
|
|
// For more information, see http://www.boost.org
|
|
|
|
#ifndef BOOST_FUNCTION_FUNCTION10_HEADER
|
|
#define BOOST_FUNCTION_FUNCTION10_HEADER
|
|
|
|
#define BOOST_FUNCTION_NUM_ARGS 10
|
|
#define BOOST_FUNCTION_TEMPLATE_PARMS typename T0, typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9
|
|
#define BOOST_FUNCTION_TEMPLATE_ARGS T0, T1, T2, T3, T4, T5, T6, T7, T8, T9
|
|
#define BOOST_FUNCTION_PARMS T0 a0, T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9
|
|
#define BOOST_FUNCTION_ARGS a0, a1, a2, a3, a4, a5, a6, a7, a8, a9
|
|
#define BOOST_FUNCTION_NOT_0_PARMS T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9
|
|
#define BOOST_FUNCTION_NOT_0_ARGS a1, a2, a3, a4, a5, a6, a7, a8, a9
|
|
|
|
#include <boost/function/function_template.hpp>
|
|
|
|
#undef BOOST_FUNCTION_NOT_0_ARGS
|
|
#undef BOOST_FUNCTION_NOT_0_PARMS
|
|
#undef BOOST_FUNCTION_ARGS
|
|
#undef BOOST_FUNCTION_PARMS
|
|
#undef BOOST_FUNCTION_TEMPLATE_ARGS
|
|
#undef BOOST_FUNCTION_TEMPLATE_PARMS
|
|
#undef BOOST_FUNCTION_NUM_ARGS
|
|
|
|
#endif // BOOST_FUNCTION_FUNCTION10_HEADER
|