September 11, 2022 Learn » Re: Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
Thank you for help, comrade. I just passed class object as a parameter and now... | |||
September 11, 2022 Learn » Re: Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
On 9/11/22 09:26, Ali Çehreli wrote: In both places I meant "class... | |||
September 11, 2022 Learn » Re: Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
On 9/11/22 02:54, Injeckt wrote: > And what I should do to pass... | |||
September 11, 2022 Learn » Re: Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
And what I should do to pass non-static function? I'm trying get function... | |||
September 11, 2022 Learn » Re: Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
On Sunday, 11 September 2022 at 09:15:11 UTC, Mike Parker wrote: Reference: https... | |||
September 11, 2022 Learn » Re: Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
...non-static member functions always produce a delegate. Otherwise, you wouldn't be able to... | |||
September 11, 2022 Learn » Why I get delegate when passing address of function? | |||
|---|---|---|---|
| |||
...this.ClientThread` of type `extern (Windows) uint delegate(void* param)` to parameter `extern (Windows) uint... | |||
September 11, 2022 Learn » Re: Is there a way to | |||
|---|---|---|---|
| |||
...it might be your only option. Your delegate would be like string callWith(string[][string... | |||
September 11, 2022 Learn » Re: Is there a way to | |||
|---|---|---|---|
| |||
...like to store a reference to that delegate in a struct for later use: ```d... | |||
September 11, 2022 Learn » Re: Is there a way to | |||
|---|---|---|---|
| |||
...wrapper at the assignment thing. Like your_delegate = (a,b) => func_with_three_args(a... | |||
Copyright © 1999-2021 by the D Language Foundation