Description of problem:
CC works when dealing with typedefs in normal classes:
class c1
{
public:
typedef string s1;
};
c1.s1. // displays string tokens
But fails when dealing with typedefs in class templates:
template<typename _Tp>
class c2
{
public:
typedef string s2;
};
c2.s2. // fails
I've attached a patch for this issue.
Hi, the patch is applied in trunk(r10328) with some comments added. Thank you very much.
I don't see any tests added to the cctest app!
Added in trunk now.