x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
gen_maybe_include.pl - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\function\detail\gen_maybe_include.pl
旋转
特效
属性
历史版本
#!/usr/bin/perl -w # # Boost.Function library # # Copyright (C) 2001-2003 Douglas Gregor (gregod@cs.rpi.edu) # # Permission to copy, use, sell and distribute this software is granted # provided this copyright notice appears in all copies. # Permission to modify the code and to distribute modified code is granted # provided this copyright notice appears in all copies, and a notice # that the code was modified is included with the copyright notice. # # This software is provided "as is" without express or implied warranty, # and with no claim as to its suitability for any purpose. # # For more information, see http://www.boost.org use English; $max_args = $ARGV[0]; open (OUT, ">maybe_include.hpp") or die("Cannot write to maybe_include.hpp"); for($on_arg = 0; $on_arg <= $max_args; ++$on_arg) { if ($on_arg == 0) { print OUT "#if"; } else { print OUT "#elif"; } print OUT " BOOST_FUNCTION_NUM_ARGS == $on_arg\n"; print OUT "# ifndef BOOST_FUNCTION_$on_arg\n"; print OUT "# define BOOST_FUNCTION_$on_arg\n"; print OUT "# include
\n"; print OUT "# endif\n"; } print OUT "#else\n"; print OUT "# error Cannot handle Boost.Function objects that accept more than $max_args arguments!\n"; print OUT "#endif\n";
gen_maybe_include.pl
网页地址
文件地址
上一页
2/4
下一页
下载
( 1 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.