| Summary: | [C++] false error in template specialization | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | trashyankes |
| Component: | cdt-parser | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | trivial | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0 | ||
| Target Milestone: | 8.1.0 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Thanks for the example, added testcase and fix. *** cdt git genie on behalf of Markus Schorn ***
Bug 356818: Explicit instance, which would be illegal as implicit one.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=7d0c06294a7ca7ca73e86c8a061198f77991991c
|
template<typename T1,typename T2> class A{}; template<typename T1> class A<T1, int>{}; template<typename T2> class A<int, T2>{}; template<> class A<int, int>{};// error: `A<int, int> is ambiguous Candidates are:` <- no candidates show -- Configuration Details -- Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi