What is "dual-context" ?
patric.dexheimer at gmail.com
Fri Sep 13 13:02:13 UTC 2019
On Friday, 13 September 2019 at 04:23:47 UTC, Paul Backus wrote:
> On Friday, 13 September 2019 at 02:49:33 UTC, SrMordred wrote:
> "Dual context" is the compiler feature that allows you to pass
> delegates as template arguments to member functions. For a long
> time, limitations in the frontend made this impossible . It
> was recently fixed in dmd , but the fix hasn't made it into
> ldc yet , so code that takes advantage of this feature is
> currently dmd-only.
Nice!, Thanks for the explanation and workaround :)
More information about the Digitalmars-d-learn