in_place_factory_prefix.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2003, Fernando Luis Cacciola Carballal.
00002 //
00003 // Use, modification, and distribution is subject to the Boost Software
00004 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
00005 // http://www.boost.org/LICENSE_1_0.txt)
00006 //
00007 // See http://www.boost.org/lib/optional for documentation.
00008 //
00009 // You are welcome to contact the author at:
00010 //  fernando_cacciola@hotmail.com
00011 //
00012 #ifndef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_25AGO2003_HPP
00013 #define BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_25AGO2003_HPP
00014 
00015 #include <sysc/packages/boost/config.hpp>
00016 #include <sysc/packages/boost/preprocessor/repetition/enum.hpp>
00017 #include <sysc/packages/boost/preprocessor/repetition/enum_params.hpp>
00018 #include <sysc/packages/boost/preprocessor/repetition/enum_binary_params.hpp>
00019 #include <sysc/packages/boost/preprocessor/cat.hpp>
00020 #include <sysc/packages/boost/preprocessor/arithmetic/inc.hpp>
00021 #include <sysc/packages/boost/preprocessor/punctuation/paren.hpp>
00022 #include <sysc/packages/boost/preprocessor/facilities/empty.hpp>
00023 
00024 #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()
00025 #define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_DECL(z,n,_) BOOST_PP_CAT(A,n) const& BOOST_PP_CAT(m_a,n);
00026 #define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_ARG(z,n,_)  BOOST_PP_CAT(m_a,n)
00027 
00028 #define BOOST_MAX_INPLACE_FACTORY_ARITY 10
00029 
00030 #undef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_SUFFIX_25AGO2003_HPP
00031 
00032 #endif
00033 

Generated on Wed Jan 21 15:32:10 2009 for SystemC by  doxygen 1.5.5