[GCC-XML] template parm patch
Brad King
brad.king at kitware.com
Tue Jan 26 12:19:48 EST 2010
Hi Roman,
Kyle Girard wrote:
> I ripped most of the following from QT's headers
I shrank Kyle's example down to
template <typename> class A {};
template <typename T> void f(A<T> const& a) { A<__typeof__(a)>(); }
template void f<int>(A<int> const& a);
See http://www.gccxml.org/Bug/view.php?id=10183
Also, http://www.gccxml.org/Bug/view.php?id=10185
has this test case:
template <typename T> struct A {};
template <int N> struct A<const char[N]>
{ static int size(const char[N]) { return N - 1; } };
We're still working on http://www.gccxml.org/Bug/view.php?id=10184
Thanks again for the pygccxml test suite!
-Brad
More information about the gccxml
mailing list