[Bug c++/13294] [3.4 Regression] namespace associations vs. specializations

jason at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 9 06:37:00 GMT 2004


------- Additional Comments From jason at redhat dot com  2004-04-09 06:37 -------
Subject: Re:  [3.4 Regression] namespace associations vs.
 specializations

On 8 Apr 2004 23:04:38 -0000, "bkoz at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> wrote:

> I don't think the proposed behavior or mangling is ugly (it's only
> different by one letter), but instead that the implementation sketched by
> Jason might be ugly.

It's ugly because it requires us to pervert the ABI mangling scheme, which
leads me to wonder whether or not this is really what we want.  It comes
down to a question of whether a particular specialization is its own entity
or part of the template.  The mangling scheme assumes the latter; this
change moves more toward the former.  I wonder which will sound better to
the committee.

The question from a language perspective is whether or not a specialization
declared in two translation units is the same from an ODR perspective even
when it specializes templates from different strongly-used namespaces.

Jason


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13294



More information about the Gcc-bugs mailing list