using keyword combined with discard in out params #4595
Answered
by
HaloFour
henke37
asked this question in
Language Ideas
-
The The discard "variable" is great when working with However, you can't combine the two to elegantly dispose an object that you just want to discard. It'd be cool if you could write a line like this: Fun(using out _); |
Beta Was this translation helpful? Give feedback.
Answered by
HaloFour
Mar 28, 2021
Replies: 1 comment
-
See: #3544 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
henke37
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: #3544