🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #1998

Re: Brauch Hilfe bei Container-Arrays ???

#1998
From: Dietmar Kuehl
Date: Thu, 04 Apr 1996 13:29
31 lines
1558 bytes
Hi,
Christian Groeling (Ch.Groeling@kassel.netsurf.de) wrote:
: ich wollte eigentlich nur erklärt haben warum der unten aufgeführte
: Teil eines C++ Listings die Zeile " int operator==(const Position& mc)
: const{} " braucht (und warum). Ich weiss es hat irgendetwas mit einem
: Copy Konstruktor zu tun. 

: class Position
: {
: 	 public  :
: 			int xz;
: 			int yz;
: 			void eingabe(int x,int y) {xz=x;yz=y;}
: 			Position(){
: 			xz =0;
: 			yz =0;
: 			};
: 			int operator==(const Position& mc) const{};
: };

: typedef TArrayAsVector<Position> TRectArray;
: typedef TArrayAsVectorIterator<Position> TRectArrayIterator;

Diese Frage laesst sich nur mit Kenntnis von 'TArrayAsVector'
beantworten. Da diese Klasse Teil einer spezifischen Klassenbibliotek
ist, ist sie "environment specific" und hat in de.comp.lang.c++ nicht
zu suchen. Du solltest sie in einem entsprechenden Forum fragen.
--
dietmar.kuehl@uni-konstanz.de
http://www.informatik.uni-konstanz.de/~kuehl/
I am a realistic optimist - that's why I appear to be slightly pessimistic
Technical Details
Message-ID: <4k0is2$qb5@news.BelWue.DE>
Path: arc1-ca.pugleaf.net!news.belwue.de!horn!kuehl
References: <4julhd$dg@station1.compoint.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.belwue.de!horn!kuehl
From: kuehl@horn.informatik.uni-konstanz.de (Dietmar Kuehl)
Newsgroups: de.comp.lang.c++
Subject: Re: Brauch Hilfe bei Container-Arrays ???
Date: 4 Apr 1996 13:29:38 GMT
Organization: Fakultät für Mathematik und Informatik
Message-ID: <4k0is2$qb5@news.BelWue.DE>
References: <4julhd$dg@station1.compoint.de>
Reply-To: dietmar.kuehl@uni-konstanz.de
NNTP-Posting-Host: horn.informatik.uni-konstanz.de
X-Newsreader: TIN [version 1.2 PL2]