| Summary: | [c++0x] Variadic template arguments error | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | trashyankes |
| Component: | cdt-parser | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, malaperle |
| Version: | 8.0 | ||
| Target Milestone: | 8.0.1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Added testcase and fix. *** cdt git genie on behalf of 352859 ***
Bug 352859: Matching of template template parameters.
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fd671be08fb0b84495350fae9f71f919770c7aaf
|
template<template<class...> class A> struct CZ{ }; template<class T1> // adding `...` will remove this error struct CHH{ }; typedef CZ<CHH> wwhgjh; // <- error `Invalid template arguments` this code is valid in g++ 4.6 -- 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