This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] libstdc++/21244


Paolo Carlini <pcarlini@suse.de> writes:

| Mark Mitchell wrote:
| 
| > Yes, this change should be safe.  Since anonymous types can't be used
| > with entities that have linkage, this enumeration type can't have
| > appeared in any mangled names.
| 
| Ah, interesting technical details. Thanks!

Well, I do not believe in them, but that does not matter for this patch :-)
Unnamed enumerations or class types should be treated as if given
unique names in the program (just like unnamed namespaces).  But, that
is something to be taken to the committee.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]