1 #if !defined(BOOST_PROTO_DONT_USE_PREPROCESSED_FILES) 2 3 #ifndef BOOST_NO_CXX11_VARIADIC_TEMPLATES 4 BOOST_PROTO_EXTENDS_FUNCTION_() 5 BOOST_PROTO_DEFINE_FUN_OP_VARIADIC_IMPL_(BOOST_PROTO_CONST) 6 #else 7 #include <boost/proto/detail/preprocessed/extends_funop_const.hpp> 8 #endif 9 10 #else 11 12 #define BOOST_PP_LOCAL_MACRO(N) \ 13 BOOST_PROTO_DEFINE_FUN_OP_CONST(1, N, ~) \ 14 /**/ 15 16 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES) 17 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/extends_funop_const.hpp") 18 #endif 19 20 /////////////////////////////////////////////////////////////////////////////// 21 /// \file extends_funop_const.hpp 22 /// Definitions for extends\<\>::operator() 23 // 24 // Copyright 2008 Eric Niebler. Distributed under the Boost 25 // Software License, Version 1.0. (See accompanying file 26 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 27 28 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES) 29 #pragma wave option(preserve: 1) 30 #endif 31 32 BOOST_PROTO_EXTENDS_FUNCTION_() 33 34 #define BOOST_PP_LOCAL_LIMITS \ 35 (0, BOOST_PP_DEC(BOOST_PROTO_MAX_FUNCTION_CALL_ARITY)) 36 #include BOOST_PP_LOCAL_ITERATE() 37 38 #if defined(__WAVE__) && defined(BOOST_PROTO_CREATE_PREPROCESSED_FILES) 39 #pragma wave option(output: null) 40 #endif 41 42 #endif 43