ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
Re: [boost] Re: name clash
by Gabriel Dos Reis other posts by this author
Aug 18 2002 4:14PM messages near this date
Re: [boost] A comment and a question about the current config macros | [boost] [filesystem] No support for properties?
Gennaro Prota <gennaro_prota@[...].com>  writes:

| I don't know what the original question was, but Bo's reply makes me
| think that he has misinterpreted that paragraph (of course, it's
| likely that *I* did misinterpret it): it doesn't say that it applies
| only when the declaration specifies an unqualified name. It applies
| always but you have to see if the unqualified-ids are the same and not
| the full qualified name.

Yeah.

| In practice (unless there's some special case
| that I'm missing right now) you never declare a qualified name, just a
| name.

You're right.

[...]

| All the declarations in namespace N ('class name;', 'class name {};'
| and 'using X::name;') declare the same name (have the same
| unqualified-id) and thus 3.3/4 applies, even if the name in the third
| declaration is qualified. Analogously for the declarations in
| namespace X.
| 
| 
| Am I wrong?

No.

-- Gaby
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved