From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,131f06967722ab4b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Ada 2005? Date: Tue, 21 Dec 2004 09:33:06 +0100 Organization: None Message-ID: <17804669.eaDZ45aH7Z@linux1.krischik.com> References: <1103344064.372396.51420@c13g2000cwb.googlegroups.com> <1n1v6175zrtcc.2g6ewdvu7ei5$.dlg@40tude.net> <1103568585.285484.237450@c13g2000cwb.googlegroups.com> Reply-To: martin@krischik.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1103618620 05 23667 TaRWX56L+bVO3q+ 041221 08:43:40 X-Complaints-To: usenet-abuse@t-online.de X-ID: TD-oCGZAYe5loo+mCInmY4AglrIJxoghpgeDVU7jsB1uZZFafRKZ4e User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:7121 Date: 2004-12-21T09:33:06+01:00 List-Id: conradwt@runbox.com wrote: > In C++, the word, 'class', is a keyword that one uses to construct > object or instance definitions. Also, it is very clear as to what > you're trying to do when you see this in the source. Thus, I guess > that you're saying that Copy is a static member instead of an instance > member. Actually it is only a synonym for: struct { private: You can easiely do a: s/class(.*)\{/struct\1\{private\:/g and your programm will work just the same. {Ok, the regular expression is not perfect as they could be CR/LF in the source as well - is't just a quick example} "class" is just syntactic sugar, and a great marketing ploy. Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com