x
Yes
No
Do you want to visit DriveHQ English website?
Inicio
Características
Precios
Prueba gratuita
Software cliente
Acerca de nosotros
Servidor de archivos
|
Solución de copias de seguridad
|
Servidor FTP
|
Servidor de correo electrónico
|
Alojamiento web
|
Software cliente
Servidor de archivos
Solución de copia de seguridad
Servidor FTP
Servidor de correo electrónico
Alojamiento web
Software cliente
gen_maybe_include.pl - Hosted on DriveHQ Cloud IT Platform
Arriba
Subir
Descargar
Compartir
Publicar
Nueva carpeta
Nuevo archivo
Copiar
Cortar
Eliminar
Pegar
Clasificación
Actualizar
Ruta de la carpeta: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\function\detail\gen_maybe_include.pl
Girar
Efecto
Propiedad
Historial
#!/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
Dirección de la página
Dirección del archivo
Anterior
2/4
Siguiente
Descargar
( 1 KB )
Comments
Total ratings:
0
Average rating:
No clasificado
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.