Topic: Scope resolution of nested namespaces
Author: rad6938@gemini.tntech.edu (Rad)
Date: 20 Aug 94 20:19:59 -0600 Raw View
Could someone please tell me how scope qualification is supposed to be
handled for the following case?
namespace A {
char c;
namespace A {
char c;
char *cp1 = &A::c; // does this refer to ::A::c or ::A::A::c?
char *cp2 = &A::A::c; // is this permitted or is ::A::A::c required?
}
}
----------------------------------------------------------------------------
Richard Deken Graduate student in electrical engineering
PGP public key available Tennessee Technological University
Internet: rad6938@gemini.tntech.edu Cookeville, TN, USA