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

Unhandled = {} syntax for default argument #46

Open
Pesa opened this issue Sep 22, 2022 · 1 comment
Open

Unhandled = {} syntax for default argument #46

Pesa opened this issue Sep 22, 2022 · 1 comment

Comments

@Pesa
Copy link

Pesa commented Sep 22, 2022

Not sure if this is where it's handled, but it seems that a default argument like SomeType foo = {} in a function declaration is not recognized correctly by doxylink. This is the diagnostic message I get:

Skipping function ndn::Interest::Interest(const Name &name={}, time::milliseconds lifetime=DEFAULT_INTEREST_LIFETIME). Error reported from parser was: Expected ')', found '='  (at char 17), (line:1, col:18)
@ischoegl
Copy link

ischoegl commented Jul 23, 2023

I just found ran into the same issue; another unhandled case are variadic arguments (variable numbers of arguments), i.e.

Skipping function Factory< WallBase >::create(const std::string &name, Args... args). Error reported from parser was: Expected ')', found '.'  (at char 30), (line:1, col:31)

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

No branches or pull requests

2 participants