pt ctor ordering/missing ctor
Mark Mitchell
mark@markmitchell.com
Wed Oct 14 16:32:00 GMT 1998
Mike Stump wrote:
>
> > Date: Tue, 13 Oct 1998 22:16:59 -0700
> > From: Mark Mitchell <mark@markmitchell.com>
>
> > >>>>> "Mike" == Mike Stump <mrs@wrs.com> writes:
>
> > I think it makes sense for these to come out in the order they
> > appeared in the source file, though, rather than the way it is now.
>
> Ok, you mean link them to the order of the explicit instantiation
> requests. That's fine, what about when there is none. When the
> template is implicitly instantiated?
I haven't the faintest. The standard certainly doesn't specify an
order.
But, we could use the point-of-instantiation (in the technical
standardese sense) to at least partially order these things, if we
thought that was worthwhile. That would mirror the order I suggested
for explicit instantiations. If two things have the same point of
instantiation, I don't see any basis for choosing one over the other.
What do you think?
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com
More information about the Gcc-bugs
mailing list