xoofx / CppAst.NET

CppAst is a .NET library providing a C/C++ parser for header files powered by Clang/libclang with access to the full AST, comments and macros
BSD 2-Clause "Simplified" License
501 stars 66 forks source link

Add support for specialized template #34

Closed mugisoba closed 4 years ago

mugisoba commented 4 years ago

This PR adds to retrieve which templates are specialized.

example

template <typename T>
class Foo {};

Foo<int> int_foo;

You can parse Foo<int> to get an int as a template parameter and Foo<T> as a specialization class template.

xoofx commented 4 years ago

Thanks!