]> git.lyx.org Git - lyx.git/blob - boost/boost/utility/detail/in_place_factory_prefix.hpp
update to boost 1.39: add new files
[lyx.git] / boost / boost / utility / detail / in_place_factory_prefix.hpp
1 // Copyright (C) 2003, Fernando Luis Cacciola Carballal.\r
2 // Copyright (C) 2007, Tobias Schwinger.\r
3 //\r
4 // Use, modification, and distribution is subject to the Boost Software\r
5 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at\r
6 // http://www.boost.org/LICENSE_1_0.txt)\r
7 //\r
8 // See http://www.boost.org/lib/optional for documentation.\r
9 //\r
10 // You are welcome to contact the author at:\r
11 //  fernando_cacciola@hotmail.com\r
12 //\r
13 #ifndef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_04APR2007_HPP\r
14 #define BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_04APR2007_HPP\r
15 \r
16 #include <new>\r
17 #include <cstddef>\r
18 #include <boost/config.hpp>\r
19 #include <boost/preprocessor/cat.hpp>\r
20 #include <boost/preprocessor/punctuation/paren.hpp>\r
21 #include <boost/preprocessor/iteration/iterate.hpp>\r
22 #include <boost/preprocessor/repetition/repeat.hpp>\r
23 #include <boost/preprocessor/repetition/enum.hpp>\r
24 #include <boost/preprocessor/repetition/enum_params.hpp>\r
25 #include <boost/preprocessor/repetition/enum_binary_params.hpp>\r
26 #include <boost/preprocessor/repetition/enum_trailing_params.hpp>\r
27 \r
28 #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()\r
29 #define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_DECL(z,n,_) BOOST_PP_CAT(A,n) const& BOOST_PP_CAT(m_a,n);\r
30 \r
31 #define BOOST_MAX_INPLACE_FACTORY_ARITY 10\r
32 \r
33 #undef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_SUFFIX_04APR2007_HPP\r
34 \r
35 #endif\r
36 \r