From -1487468551724039021 X-Google-Thread: f78e5,d2ef22ccb120b652 X-Google-Attributes: gidf78e5,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!image.surnet.ru!news.clara.net!wagner.news.clara.net!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull From: swelef@post.sk (Vladimir Marko) Newsgroups: comp.std.c++ Subject: Re: A::A::A::A Date: Tue, 5 Oct 2004 16:34:18 GMT Organization: http://groups.google.com Lines: 26 Sender: mail2news@demon.net Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++) Message-ID: <84523212.0410050424.1ff3098@posting.google.com> References: NNTP-Posting-Host: news.news.demon.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1096994066 10012 158.152.254.254 (5 Oct 2004 16:34:26 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Tue, 5 Oct 2004 16:34:26 +0000 (UTC) X-Received-SPF: pass (mailbox2.ucsd.edu: domain of news@google.com designates 216.239.37.5 as permitted sender) receiver=mailbox2.ucsd.edu; client_ip=216.239.37.5; envelope-from=news@google.com; X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Spam-Checker-Version: SpamAssassin 2.64-mulga_r1 (2004-01-11) on mulga.cs.mu.OZ.AU X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64-mulga_r1 X-Received: (from fjh@localhost) by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i95GYItN017668; Wed, 6 Oct 2004 02:34:18 +1000 (EST) X-Path: comp-std-cpp-robomod!not-for-mail X-NNTP-Posting-Date: Tue, 5 Oct 2004 12:24:13 +0000 (UTC) X-Spam-Level: X-Delivered-To: std-c++@ucar.edu X-Spamscanner: mailbox2.ucsd.edu (v1.5 Aug 25 2004 09:28:35, -2.8/5.0 3.0.0-rc1) X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f X-Newsgroups: comp.std.c++ X-MailScanner: PASSED (v1.2.8 37307 i95COE72053753 mailbox2.ucsd.edu) Xref: g2news1.google.com comp.std.c++:2970 noway@sorry.com ("Giovanni Bajo") wrote in message news:... > Is this code really valid? > > struct A { > void foo() {} > }; > > void bar() { > A a; > a.A::A::A::A::A::A::foo(); > } I believe it is valid. See thread ``How to avoid / check typing mistake ":" instead of "::" , with C++ ?'' from April 2004. Regards, Vladimir Marko --- [ comp.std.c++ is moderated. To submit articles, try just posting with ] [ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]