🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Punteros a funciones en C++

#14442
From: Vladimir
Date: Sun, 12 Nov 2000 00:00
16 lines
1309 bytes
El Thu, 09 Nov 2000 02:43:25 +0100, Guillermo L�pez
<glm61126@alu.uah.es> escribi�:

>Prueba a escribir static delante de la declaraci�n de la funci�n que usas. Un puntero a un
>m�todo de una clase no es posible, 
>ni siquiera con el this delante. 

	Ya he probado, y en el m�dulo Form.C funciona el truco y
compila, pero en otro que hice lo mismo me fall� porque esa otra
funci�n necesitaba acceder a los componentes de su clase.


saludos
Vladimir

- Seguimos mirando el reloj.  Tarifa PLANA sin trucos para todos -
Technical Details
Message-ID: <nklt0tger6g6jbhrpmfofqh903505hehk1@4ax.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com> <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com> <8tuc1n$1s9$1@diana.bcn.ttd.net> <664b0tglk5lltn2lhgilrfi6tpn1v3j4le@4ax.com> <3A0A013D.7A48BE7@alu.uah.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,9ece04ddd9e65ba1
X-Google-Attributes: gidf86c8,public
From: Vladimir <spam.a@telefonica.es>
Subject: Re: Punteros a funciones en C++
Date: 2000/11/12
Message-ID: <nklt0tger6g6jbhrpmfofqh903505hehk1@4ax.com>
X-Deja-AN: 692783011
Content-Transfer-Encoding: 8bit
References: <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com> <iipovsknnvs1cgiad4k1i6cebhror9kotf@4ax.com> <8tuc1n$1s9$1@diana.bcn.ttd.net> <664b0tglk5lltn2lhgilrfi6tpn1v3j4le@4ax.com> <3A0A013D.7A48BE7@alu.uah.es>
X-Original-NNTP-Posting-Host: 212.73.51.17
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: 12 Nov 2000 19:58:26 +0100, 212.73.51.17
Organization: No
MIME-Version: 1.0
Newsgroups: es.comp.os.linux.programacion