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

std::tie is not equal to the unpack operator [] #5735

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

boutinb
Copy link
Contributor

@boutinb boutinb commented Nov 15, 2024

std::tie assigns to existing variables
[] operator defines and assigns new variables.

But with a conditional assignment operator we can still remove the std::tie.

@JorisGoosen
Copy link
Contributor

Oops!

@JorisGoosen JorisGoosen merged commit 71a7a07 into jasp-stats:development Nov 15, 2024
1 check failed
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.

2 participants