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

Restrict fold exps #219

Closed
wants to merge 3 commits into from
Closed

Restrict fold exps #219

wants to merge 3 commits into from

Conversation

amaanq
Copy link
Member

@amaanq amaanq commented Aug 4, 2023

Closes #201
Closes #212

Does fail with this input though, but maybe the tradeoff is worth it

template <typename... Args> void negateValues(Args... args) {
  ((std::cout << !args << " "), ...);
}

@amaanq amaanq mentioned this pull request Aug 4, 2023
@aryx aryx requested a review from jdrouhard August 15, 2023 10:47
@aryx
Copy link
Contributor

aryx commented Oct 19, 2023

can you rebase @amaanq ? Seems like an important regression fix.

@jdrouhard
Copy link
Collaborator

The case it breaks is more common in modern c++ so we need to resolve that conflict first.

@cyw3

This comment was marked as off-topic.

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 this pull request may close these issues.

assignment in conditions can be parsed by c parser but not c++ About (x += 1) %= 2;
4 participants