clang_Cursor_getNumTemplateArguments

*\brief Returns the number of template args of a function decl representing a template specialization.

If the argument cursor cannot be converted into a template function declaration, -1 is returned.

For example, for the following declaration and specialization: template <typename T, int kInt, bool kBool> void foo() { ... }

template <> void foo<float, -7, true>();

The value 3 would be returned from this call.

extern (C)
int
clang_Cursor_getNumTemplateArguments

Meta