1 | // Copyright (C) 2003, Fernando Luis Cacciola Carballal.
|
---|
2 | //
|
---|
3 | // Use, modification, and distribution is subject to the Boost Software
|
---|
4 | // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
---|
5 | // http://www.boost.org/LICENSE_1_0.txt)
|
---|
6 | //
|
---|
7 | // See http://www.boost.org/lib/optional for documentation.
|
---|
8 | //
|
---|
9 | // You are welcome to contact the author at:
|
---|
10 | // fernando_cacciola@hotmail.com
|
---|
11 | //
|
---|
12 | #ifndef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_25AGO2003_HPP
|
---|
13 | #define BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_25AGO2003_HPP
|
---|
14 |
|
---|
15 | #include <boost/config.hpp>
|
---|
16 | #include <boost/preprocessor/repetition/enum.hpp>
|
---|
17 | #include <boost/preprocessor/repetition/enum_params.hpp>
|
---|
18 | #include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
---|
19 | #include <boost/preprocessor/cat.hpp>
|
---|
20 | #include <boost/preprocessor/arithmetic/inc.hpp>
|
---|
21 | #include <boost/preprocessor/punctuation/paren.hpp>
|
---|
22 | #include <boost/preprocessor/facilities/empty.hpp>
|
---|
23 |
|
---|
24 | #define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_INIT(z,n,_) BOOST_PP_CAT(m_a,n) BOOST_PP_LPAREN() BOOST_PP_CAT(a,n) BOOST_PP_RPAREN()
|
---|
25 | #define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_DECL(z,n,_) BOOST_PP_CAT(A,n) const& BOOST_PP_CAT(m_a,n);
|
---|
26 | #define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_ARG(z,n,_) BOOST_PP_CAT(m_a,n)
|
---|
27 |
|
---|
28 | #define BOOST_MAX_INPLACE_FACTORY_ARITY 10
|
---|
29 |
|
---|
30 | #undef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_SUFFIX_25AGO2003_HPP
|
---|
31 |
|
---|
32 | #endif
|
---|
33 |
|
---|