DPC++ capture this pointer in the kernal function #585
Maccchiatooo
started this conversation in
General
Replies: 2 comments
-
Is a by-copy capture with exceptions by-reference what you're looking for: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Converted to discussion, since it's not really a oneDPL issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I want to capture the this pointer or outside variable in DPC++ code, I have to write it in my lambda function explicitly
But, now I have a lot of variables that need to be captured in the lambda function, do I have to use the same method to write them explicitly? Or there are some other tricks to make this?
Beta Was this translation helpful? Give feedback.
All reactions