Getting template arguments for a Type

Hi All,

Can anyone tell me how to get the template arguments from a clang::Type or clang::QualType object? For example, if I have clang::Type pointer for “std::vector”, how do I get to this “int”. When looking at the API reference I’m getting a bit lost with all the terminology I’m not yet familiar with, any good resources to that explains the terminology?

With Kind Regards,

Gert Massa

Siemens Industry Software NV

Digital Factory Division

Product Lifecycle Management

Simulation and Test Solutions

Researchpark 1237

Interleuvenlaan 68

3001 Leuven, Belgium

Tel: +32 16 38 4252