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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.gccxml.org/mailman/listinfo/gccxml