🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #425

Re: [C++] La misma función con distintos nombres (y comportamiento)

#425
From: Han Solo
Date: Thu, 13 Mar 2008 14:55
22 lines
2715 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Thu, 13 Mar 2008 11:33:00 +0100
Gonzalo Pérez de Olaguer Córdoba <gpoc@iies.es> escribió:

> Hola Han Solo <hsolo@escomposlinux.org>
> el Thu, 13 Mar 2008 11:01:47 +0100 escribiste:
> 
> > Pues no es tan sencillo. El problema de hacerlo así (que ya lo había
> > contemplado) es que tengo que cambiar la llamada a la primera
> > función en todos los sitios en que ya está programada. En este caso
> > concreto, tampoco es tan complicado, pero me interesaba saber si se
> > podía hacer de otra forma.
> 
> ¿No puedes usar defines para implementar los cambios? Algo así:
> 

Pues mira, eso no se me había ocurrido. Es otra idea. 

Muchas gracias.

- -- 
Un Saludo

Han Solo
The Rebel Alliance

Emacs is not on every system

So what? [...] Do you tell your administrative people to stick with
notepad.exe? Do you tell your fat kids they can only have the crummy
games that come with their video games or plain dress that comes with
Barbie?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH2UBY4FjpJaPEp20RApE+AJ9Uxn71Ih9sCYSd+T/PU7CYJkVDggCZAaXw
KCHf8d6NCYFc81ZeZauWTJs=
=sP+p
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <orrna5-daq.ln1@pc106.ietcc.csic.es>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!out04b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!news.mixmin.net!aioe.org!news
References: <20080310175215.278cae58@tatooine> <kh9gt3lg71iucof1s3o7n2lt4q9i25od8h@4ax.com> <20080313110147.471fd9fd@tatooine> <20080313113300.7b088cfb@petres.salonet.snet>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,d11cae33929ec158
X-Google-Attributes: gidf86c8,public,usenet
X-Google-Language: SPANISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!out04b.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!news.mixmin.net!aioe.org!news
From: Han Solo <hsolo@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: [C++] La misma función con distintos nombres
 (y comportamiento)
Date: Thu, 13 Mar 2008 15:55:18 +0100
Organization: The Rebel Alliance
Lines: 22
Message-ID: <orrna5-daq.ln1@pc106.ietcc.csic.es>
References: <20080310175215.278cae58@tatooine>
 <kh9gt3lg71iucof1s3o7n2lt4q9i25od8h@4ax.com>
 <20080313110147.471fd9fd@tatooine>
 <20080313113300.7b088cfb@petres.salonet.snet>
NNTP-Posting-Host: n95jBLpR/G5okHo4e8kfcA.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
X-Complaints-To: abuse@aioe.org
X-Newsreader: Sylpheed-Claws 2.6.0 (GTK+ 2.10.11; i486-pc-linux-gnu)