Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser fails on C++ functions with conditional template instantiation and parameter packs #21

Closed
daniel-starke opened this issue Mar 2, 2019 · 1 comment
Labels

Comments

@daniel-starke
Copy link

Trying to comment a C++ function like

template <size_t i = 0, typename ...Args>
static typename enable_if<i == sizeof...(Args), bool>::type extractArgs(uint8_t * &, size_t &, tuple<Args...> &) {
	return true;
}

fails with the error message "Error: Cannot parse function definition. Make sure the cursor is on the line directly above the function or method definition.".

@dail8859
Copy link
Owner

dail8859 commented Mar 7, 2019

To parse out the function or method name this plugin just uses some pretty simple regular expressions. Handling this complex of syntax would require quite a bit of effort. Unfortunately this capability is probably well outside the scope of what DoxyIt will be able to handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants