Skip to content

Conversation

kinke
Copy link
Member

@kinke kinke commented Jan 17, 2022

Fixes #3883 by capturing NRVO vars by ref - unless the nested context is a heap closure.

Fixes ldc-developers#3883 by capturing NRVO vars by ref - unless the nested context
is a heap closure.
@kinke kinke merged commit c100c15 into ldc-developers:master Jan 21, 2022
@kinke kinke deleted the fix3883 branch January 21, 2022 02:41
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.

No NRVO for captured variables
1 participant