🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3320

Re: Nesting scope resolution

#3320
From: Fergus Henderson
Date: Mon, 12 Feb 1996 08:02
21 lines
1274 bytes
nathan@pact.srf.ac.uk (Nathan Sidwell) writes:

>Is the line tagged //B legal?

Yes.

Your analysis is correct, IMHO, although not quite complete.
The answer to the question you ask

>now the question is, is Parent (a typedef) considered a class-name?

is yes - the missing piece of the puzzle is 9.1[class.name]/5, which
says "A typedef name which names a class is a class-name".

--
Fergus Henderson             	WWW: http://www.cs.mu.oz.au/~fjh
fjh@cs.mu.oz.au              	PGP: finger fjh@128.250.37.3
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  Moderation policy:
  http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
Technical Details
Message-ID: <4fmive$g68@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
References: <DMIMKo.B6o@uns.bris.ac.uk>

Show Full Headers
Complete Article Headers
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Message-ID: <4fmive$g68@mulga.cs.mu.OZ.AU>
X-Original-Date: 12 Feb 1996 05:25:02 GMT
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 12 Feb 96 08:02:46 GMT
Approved: fjh@cs.mu.oz.au
Newsgroups: comp.std.c++
Subject: Re: Nesting scope resolution
Organization: Comp Sci, University of Melbourne
References: <DMIMKo.B6o@uns.bris.ac.uk>
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMR70UuEDnX0m9pzZAQEQdgGAkdsGAs/jvgtCohe/DulSNbnE0r8r61AB
 FWbP02z1MGzpgEftx0nkuGm4O4F5K+K9
 =aZb9