x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
unpack_args.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\mpl\unpack_args.hpp
旋转
特效
属性
历史版本
#if !defined(BOOST_PP_IS_ITERATING) ///// header body #ifndef BOOST_MPL_UNPACK_ARGS_HPP_INCLUDED #define BOOST_MPL_UNPACK_ARGS_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2002-2004 // // Distributed under 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/libs/mpl for documentation. // $Source$ // $Date: 2004-09-02 11:41:37 -0400 (Thu, 02 Sep 2004) $ // $Revision: 24874 $ #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include
# include
# include
# include
# include
#endif #include
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ && !defined(BOOST_MPL_PREPROCESSING_MODE) # define BOOST_MPL_PREPROCESSED_HEADER unpack_args.hpp # include
#else # include
# include
# include
# include
# include
# include
namespace boost { namespace mpl { // local macros, #undef-ined at the end of the header # define AUX778076_UNPACK(unused, i, Args) \ , typename at_c
::type \ /**/ # define AUX778076_UNPACKED_ARGS(n, Args) \ BOOST_MPL_PP_REPEAT(n, AUX778076_UNPACK, Args) \ /**/ namespace aux { #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template< int size, typename F, typename Args > struct unpack_args_impl; #else template< BOOST_MPL_AUX_NTTP_DECL(int, size) > struct unpack_args_impl { template< typename F, typename Args > struct apply; }; #endif #define BOOST_PP_ITERATION_PARAMS_1 \ (3,(0, BOOST_MPL_LIMIT_METAFUNCTION_ARITY,
)) #include BOOST_PP_ITERATE() } template< typename F > struct unpack_args { template< typename Args > struct apply #if !defined(BOOST_MPL_CFG_NO_NESTED_FORWARDING) # if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) : aux::unpack_args_impl< size
::value,F,Args > # else : aux::unpack_args_impl< size
::value > ::template apply< F,Args > # endif { #else // BOOST_MPL_CFG_NO_NESTED_FORWARDING { typedef typename aux::unpack_args_impl< size
::value , F , Args >::type type; #endif }; }; BOOST_MPL_AUX_PASS_THROUGH_LAMBDA_SPEC(1, unpack_args) # undef AUX778076_UNPACK # undef AUX778076_UNPACKED_ARGS }} #endif // BOOST_MPL_CFG_USE_PREPROCESSED_HEADERS #endif // BOOST_MPL_UNPACK_ARGS_HPP_INCLUDED ///// iteration, depth == 1 #elif BOOST_PP_ITERATION_DEPTH() == 1 # define i_ BOOST_PP_FRAME_ITERATION(1) #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template< typename F, typename Args > struct unpack_args_impl
: BOOST_PP_CAT(apply,i_)< F AUX778076_UNPACKED_ARGS(i_, Args) > { }; #else template<> struct unpack_args_impl
{ template< typename F, typename Args > struct apply : BOOST_PP_CAT(apply,i_)< F AUX778076_UNPACKED_ARGS(i_, Args) > { }; }; #endif # undef i_ #endif // BOOST_PP_IS_ITERATING
unpack_args.hpp
网页地址
文件地址
上一页
174/182
下一页
下载
( 3 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.