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
|