Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Templates

Hi Markus,
I'm still struggling trying to understand how composite bindings are supposed to work. Andrew Ferguson is probably the only person who can currently deal with them. He tried to explain them to me, but I was hopeless :-(.

I'm still working on the single index case of https://bugs.eclipse.org/bugs/show_bug.cgi?id=214017. The tests pass, but there are still problems with real std::vector.

-sergey

On Fri, Apr 18, 2008 at 7:28 AM, Schorn, Markus <Markus.Schorn@xxxxxxxxxxxxx> wrote:
Hi Sergey,
I noticed that for template instanciation in project A of a class template defined in project B the members of the class template are looked for in the PDOM of A. It contains a copy of the binding in order to be able to store references to the bindings. However these bindings have no declarations/definitions attached.
 
The testcases in IndexCPPTemplateResolutionTest work only, because PDOMCPPClassTemplate incorrectly does not filter the undeclared bindings in getBindings(IASTName, ....). By correcting this I made the testcases fail. For now I will reverted my correction.
 
Markus.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top