PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/proto/detail/extends_funop.hpp

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