resolving template instantiations

2009-06-30 Thread Christian Kamm
I started out wanting to document implicit function template instantiation (IFTI) and type deduction and ended up reading the DMD frontend code for template instantiation. There I discovered that choosing the correct template declaration involves more logic than the spec indicates. The specifi

Re: resolving template instantiations

2009-07-01 Thread Paul D. Anderson
Christian Kamm Wrote: > > If it is intended, let's document and explain it in the specification. If it > isn't, it needs to be changed or removed before the D2 freeze makes code > into law. > > Have you entered this into Bugzilla to keep your list of spec issues current? Thanks for doing

Re: resolving template instantiations

2009-07-02 Thread Christian Kamm
Paul D. Anderson wrote: > Have you entered this into Bugzilla to keep your list of spec issues > current? No, I haven't yet. I was hoping to get an explanation for DMD's behavior from Walter, maybe even a discussion about the correct way to select template declarations and whether ordering by s