TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: BLAKE GAFFNEY
date: 1998-03-10 23:14:00
subject: Scope of qualified declarators

Hi all,
Is this valid C++ code? And would identifier "qwe" in the bizarre definition 
of foo() refer to ::qwe or bar::qwe (illegal anyway)?
int qwe;
int foo();
class bar {
public:
 int qwe;
 int ::foo() {return qwe;}
};
Looks like *another* happy ending!
 offworld@bleach.demon.co.uk   >##<
... Oxymoron: Clearly Misunderstood
 >> Tag-o-Miga 1.1a - 771 tags in Taglines.txt <<
--- Spot 1.3a #1508
---------------
* Origin: The worlds first 100% coffee based origin line (2:442/107.7)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.