x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
flatten.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\parameter\aux_\preprocessor\flatten.hpp
旋转
特效
属性
历史版本
// Copyright Daniel Wallin 2005. 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) #ifndef BOOST_PARAMETER_FLATTEN_051217_HPP # define BOOST_PARAMETER_FLATTEN_051217_HPP # include
# include
# include
# include
# include
# include
# include
# include
# include
# include
# define BOOST_PARAMETER_FLATTEN_SPLIT_required required, # define BOOST_PARAMETER_FLATTEN_SPLIT_optional optional, # define BOOST_PARAMETER_FLATTEN_SPLIT_deduced deduced, # define BOOST_PARAMETER_FLATTEN_SPLIT(sub) \ BOOST_PP_CAT(BOOST_PARAMETER_FLATTEN_SPLIT_, sub) # define BOOST_PARAMETER_FLATTEN_QUALIFIER(sub) \ BOOST_PP_SPLIT(0, BOOST_PARAMETER_FLATTEN_SPLIT(sub)) # define BOOST_PARAMETER_FLATTEN_ARGS(sub) \ BOOST_PP_SPLIT(1, BOOST_PARAMETER_FLATTEN_SPLIT(sub)) # define BOOST_PARAMETER_FLATTEN_ARITY_optional(arities) \ BOOST_PP_TUPLE_ELEM(3,0,arities) # define BOOST_PARAMETER_FLATTEN_ARITY_required(arities) \ BOOST_PP_TUPLE_ELEM(3,1,arities) # define BOOST_PARAMETER_FLATTEN_SPEC0_DUMMY_ELEM(z, n, data) ~ # define BOOST_PARAMETER_FLATTEN_SPEC0(r, n, elem, data) \ (( \ BOOST_PP_TUPLE_ELEM(3,2,data) \ , BOOST_PP_TUPLE_REM(BOOST_PP_TUPLE_ELEM(3,0,data)) elem \ BOOST_PP_ENUM_TRAILING( \ BOOST_PP_SUB( \ BOOST_PP_TUPLE_ELEM(3,1,data) \ , BOOST_PP_TUPLE_ELEM(3,0,data) \ ) \ , BOOST_PARAMETER_FLATTEN_SPEC0_DUMMY_ELEM \ , ~ \ ) \ )) # define BOOST_PARAMETER_FLATTEN_SPEC_AUX(r, arity, max_arity, spec, transform) \ BOOST_PARAMETER_FOR_EACH_R( \ r \ , arity \ , BOOST_PARAMETER_FLATTEN_ARGS(spec) \ , (arity, max_arity, transform(BOOST_PARAMETER_FLATTEN_QUALIFIER(spec))) \ , BOOST_PARAMETER_FLATTEN_SPEC0 \ ) # define BOOST_PARAMETER_FLATTEN_IDENTITY(x) x # define BOOST_PARAMETER_FLATTEN_SPEC_optional(r, arities, spec) \ BOOST_PARAMETER_FLATTEN_SPEC_AUX( \ r \ , BOOST_PP_CAT( \ BOOST_PARAMETER_FLATTEN_ARITY_, BOOST_PARAMETER_FLATTEN_QUALIFIER(spec) \ )(arities) \ , BOOST_PP_TUPLE_ELEM(3,2,arities) \ , spec \ , BOOST_PARAMETER_FLATTEN_IDENTITY \ ) # define BOOST_PARAMETER_FLATTEN_SPEC_required(r, arities, spec) \ BOOST_PARAMETER_FLATTEN_SPEC_optional(r, arities, spec) # define BOOST_PARAMETER_FLATTEN_SPEC_AS_DEDUCED(x) BOOST_PP_CAT(deduced_,x) # define BOOST_PARAMETER_FLATTEN_SPEC_deduced_M(r, arities, n, spec) \ BOOST_PARAMETER_FLATTEN_SPEC_AUX( \ r \ , BOOST_PP_CAT( \ BOOST_PARAMETER_FLATTEN_ARITY_, BOOST_PARAMETER_FLATTEN_QUALIFIER(spec) \ )(arities) \ , BOOST_PP_TUPLE_ELEM(3,2,arities) \ , spec \ , BOOST_PARAMETER_FLATTEN_SPEC_AS_DEDUCED \ ) # define BOOST_PARAMETER_FLATTEN_SPEC_deduced(r, arities, spec) \ BOOST_PP_SEQ_FOR_EACH_I_R( \ r \ , BOOST_PARAMETER_FLATTEN_SPEC_deduced_M \ , arities \ , BOOST_PARAMETER_FLATTEN_ARGS(spec) \ ) # define BOOST_PARAMETER_FLATTEN_SPEC(r, arities, spec) \ BOOST_PP_CAT( \ BOOST_PARAMETER_FLATTEN_SPEC_, BOOST_PARAMETER_FLATTEN_QUALIFIER(spec) \ )(r, arities, spec) # define BOOST_PARAMETER_FLATTEN(optional_arity, required_arity, wanted_arity, specs) \ BOOST_PP_SEQ_FOR_EACH( \ BOOST_PARAMETER_FLATTEN_SPEC \ , ( \ optional_arity, required_arity \ , wanted_arity \ ) \ , specs \ ) #endif // BOOST_PARAMETER_FLATTEN_051217_HPP
flatten.hpp
网页地址
文件地址
上一页 1/2
下一页
下载
( 4 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.