From -7497297393187534736
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,2f3ca5b215880529
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2002-09-21 12:43:54 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!news-lond.gip.net!news.gsl.net!gip.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: gdr@soliton.integrable-solutions.net (Gabriel Dos Reis)
Newsgroups: comp.std.c++
Subject: Re: Name Lookup rules
Date: Sat, 21 Sep 2002 19:43:53 +0000 (UTC)
Organization: Integrable Solutions
Lines: 36
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <m3znub3zkj.fsf@soliton.integrable-solutions.net>
References: <1eRi9.251043$2L.9449289@e3500-atl2.usenetserver.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
X-Trace: mail2news.demon.co.uk 1032637433 9119 10.0.0.1 (21 Sep 2002 19:43:53 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sat, 21 Sep 2002 19:43:53 +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 17sqAQ-0002Mw-00
	for mail2news@news.news.demon.net; Sat, 21 Sep 2002 19:43:50 +0000
X-Received: by mulga.cs.mu.OZ.AU
	id FAA06547; Sun, 22 Sep 2002 05:43:46 +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-NNTP-Posting-Date: Sat, 21 Sep 2002 19:37:58 +0000 (UTC)
X-Newsreader: Gnus v5.7/Emacs 20.7
Xref: archiver1.google.com comp.std.c++:14095

"tanton@bellsouth.net"@bellsouth.net ("Tanton Gibbs") writes:

| 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++.

Yes.

| If so, to what type does T resolve?

The "T" in the definition of X::f resolves to X::T, i.e. int.

|  Can someone
| refer me to the standard passage on the subject?

See the note in 9.3/5.

-- 
Gabriel Dos Reis                    gdr@integrable-solutions.net

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



