typedef MyType A; // OK, CC recognizes A as MyType
using B = MyType; // Not OK, CC doesn't recognize B as MyType
template <class T>
using C = MyTemplate<T>; // Not OK, CC doesn't recognize C as a template alias
I have an updated patch, which I think:1, I don't use <vector>, because it causes longer parse time, and hard to debug the algorithm. 2, adjusts some comments.
You comments are welcome, thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
jat1's patch is in trunk now, see: Trying to get cctest to work, which fix the first two cases.
Hi, I've attached a patch that solves the last case. It also updates the appropriate test file.
I have an updated patch, which I think:1, I don't use <vector>, because it causes longer parse time, and hard to debug the algorithm. 2, adjusts some comments.
You comments are welcome, thanks.
This is the patch file.
Your changes look good, thanks.
Thanks, the patch is in trunk now. (rev10387)
Sorry to say that this wasn't fully fixed. There remains one problem:
If you put any keyword eg. "enum", "struct", "class" between "using Alias =" and "Type", CC still fails....
I reopen this bug.