C++的一个好库。。。现在很流行

源代码在线查看: in_place_factory_prefix.hpp

软件大小: 21075 K
上传用户: lyyfengyutongzh
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				// Copyright (C) 2003, Fernando Luis Cacciola Carballal.
				//
				// Use, modification, and distribution is subject to the Boost Software
				// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
				// http://www.boost.org/LICENSE_1_0.txt)
				//
				// See http://www.boost.org/lib/optional for documentation.
				//
				// You are welcome to contact the author at:
				//  fernando_cacciola@hotmail.com
				//
				#ifndef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_25AGO2003_HPP
				#define BOOST_UTILITY_DETAIL_INPLACE_FACTORY_PREFIX_25AGO2003_HPP
				
				#include 
				#include 
				#include 
				#include 
				#include 
				#include 
				#include 
				#include 
				
				#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()
				#define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_DECL(z,n,_) BOOST_PP_CAT(A,n) const& BOOST_PP_CAT(m_a,n);
				#define BOOST_DEFINE_INPLACE_FACTORY_CLASS_MEMBER_ARG(z,n,_)  BOOST_PP_CAT(m_a,n)
				
				#define BOOST_MAX_INPLACE_FACTORY_ARITY 10
				
				#undef BOOST_UTILITY_DETAIL_INPLACE_FACTORY_SUFFIX_25AGO2003_HPP
				
				#endif
				
							

相关资源