Article View: de.comp.lang.c++
Article #2164Re: typedef in einem Makro
From: Goetz Winterfeldt
Date: Wed, 17 Apr 1996 15:54
Date: Wed, 17 Apr 1996 15:54
31 lines
1392 bytes
1392 bytes
(...)
#define CLASSPOINTER(CLASSNAME) typedef CLASSNAME* CLASSNAMEPointer; \
int Display (CLASSNAMEPointer pCLASSNAME);
CLASSPOINTER(Object)
(...)
Eine andere Moeglichkeit als die schon genannten waere die name()
Functionen zu benutzten:
#include <generic.h>
#define CLASSPOINTER(CLASSNAME) name2(CLASSNAME,Pointer);
CLASSPOINTER(Object)
Goetz
--
---------------------------------------------------------------------
Goetz Winterfeldt
Centre Hospitalier Where ever you are ....
Universitaire de Nancy
(CHU) ^^ ***
54511 Vandoeuvre Cedex ^^
____________________
Tele: ++33 83154540
Email: g.winterfeldt@chu-nancy.fr
Technical Details
Message-ID:
<X000GWT.96Apr17175414@aquila.chu-nancy.fr>Path:
arc1-ca.pugleaf.net!news.ciril.fr!x000gwtReferences:
<3174CB7F.41C6@studi.epfl.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.ciril.fr!x000gwt From: x000gwt@aquila.chu-nancy.fr (Goetz Winterfeldt) Newsgroups: de.comp.lang.c++ Subject: Re: typedef in einem Makro Date: 17 Apr 1996 15:54:14 GMT Organization: CIRIL, Nancy, France Message-ID: <X000GWT.96Apr17175414@aquila.chu-nancy.fr> References: <3174CB7F.41C6@studi.epfl.ch> NNTP-Posting-Host: aquila.chu-nancy.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-reply-to: Bernhard Ruch's message of Wed, 17 Apr 1996 12:44:15 +0200