data: handling nested type names
* Implemented recursive handling of nested names in CxxTypeNameResolver. For example used when resolving names of dependent template parameters.
This commit is contained in:
@@ -6,3 +6,30 @@ public:
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
class Fooo
|
||||
{
|
||||
public:
|
||||
void bar()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T, typename T::a::type U>
|
||||
class Foooo1
|
||||
{
|
||||
public:
|
||||
void bar()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T, typename T::type U>
|
||||
class Foooo2
|
||||
{
|
||||
public:
|
||||
void bar()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
#include "header.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::vector<Fooo<int>> yay;
|
||||
|
||||
for (Fooo<int> a: yay)
|
||||
{
|
||||
a;
|
||||
}
|
||||
|
||||
Foo<true, int, float> ft;
|
||||
ft.bar();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user