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

Do not bind temporaries to references. #5213

Merged
merged 1 commit into from Jul 8, 2023

Conversation

bangerth
Copy link
Contributor

@bangerth bangerth commented Jul 8, 2023

Like #5208, except that the compiler did allow binding temporaries to a const reference. But just because we can doesn't mean that we should.

@gassmoeller gassmoeller merged commit 9ff05f0 into geodynamics:main Jul 8, 2023
6 checks passed
@bangerth bangerth deleted the array-view branch July 8, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants