<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>On Feb 9, 2014, at 10:36 AM, Richard Smith <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br><br></div><blockquote type="cite"><div><p dir="ltr">None of the other Redeclarable DeclContexts we currently have want this behaviour. (And in the presence of C++ modules, it wouldn't be correct - in that case, we only want to perform lookups into the class definition, not into any other class definition we've merged with it).</p></div></blockquote><div>Ah, I see. Perhaps the doc comment could use some enhancement. (Or maybe I just didn’t understand the implications the first time through.)</div><blockquote type="cite"><div>

<p dir="ltr">I suggest you just special-case the two forms of namespace. (Or use Objective-C++ ;).)</p></div></blockquote><div>It’s probably due to my lack of C++ experience, but I find it weird to have this special-casing logic in the superclass. Is there a reason not to make this a virtual method?</div><br><div>As for Objective-C++, it doesn’t provide this feature, and since ObjC namespaces have runtime implications, my design is completely independent of ObjC++.</div><div><br></div><div>--Kyle Sluder</div></body></html>