From -4209642431237741909
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,2f3ca5b215880529,start
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-09-21 12:07:33 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: "tanton@bellsouth.net"@bellsouth.net ("Tanton Gibbs")
Newsgroups: comp.std.c++
Subject: Name Lookup rules
Date: Sat, 21 Sep 2002 19:07:33 +0000 (UTC)
Organization: WEBUSENET.com
Lines: 25
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <1eRi9.251043$2L.9449289@e3500-atl2.usenetserver.com>
X-Trace: mail2news.demon.co.uk 1032635253 8690 10.0.0.1 (21 Sep 2002 19:07:33 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sat, 21 Sep 2002 19:07:33 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.05)
	id 17spbI-0002G1-00
	for mail2news@news.news.demon.net; Sat, 21 Sep 2002 19:07:32 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id FAA04873; Sun, 22 Sep 2002 05:07:28 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ncar.ucar.edu
X-Newsgroups: comp.std.c++
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
X-NNTP-Posting-Date: Fri, 20 Sep 2002 22:57:01 EDT
X-MailScanner: PASSED (v1.2.6 3910 g8L31Yfu008519 mailbox4.ucsd.edu)
Xref: archiver1.google.com comp.std.c++:14092

If I have the following file:

struct X {
  typedef int T;
  void f( T t );
};

typedef float T;

void X::f( T t ) {
}

Is this well defined C++.  If so, to what type does T resolve?  Can someone
refer me to the standard passage on the subject?

Thanks!
Tanton


---
[ 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                       ]



