Calling template member function?
Ali Çehreli
acehreli at yahoo.com
Tue Apr 19 19:07:37 UTC 2022
On 4/19/22 11:18, Andrey Zherikov wrote:
> Is there a way/workaround to achieve the desired behavior?
Can you describe the goal a little more. For example, I assume you
really need a more useful lambda although the example you show seems
unnecessary:
enum dg = () => func();
That lambda looks suspiciously trivial. Will it actually need its context?
Ali
More information about the Digitalmars-d-learn
mailing list