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

Recursive macros require a forward declaration #55

Closed
gilch opened this issue Nov 25, 2020 · 0 comments · Fixed by #71
Closed

Recursive macros require a forward declaration #55

gilch opened this issue Nov 25, 2020 · 0 comments · Fixed by #71

Comments

@gilch
Copy link
Owner

gilch commented Nov 25, 2020

It is at least documented. There might be a way to avoid it. It adds a little more magic, but this is probably the lesser of evils.

Basically, the templates would have to always qualify the invocation position as a macro, but the compiler will fall back to the global of the same name if the macro is absent.

It would probably work.

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

Successfully merging a pull request may close this issue.

1 participant