[Issue 23515] Named Enum of function SIGSEGFAULT
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 8 13:29:11 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=23515
--- Comment #2 from Marcelo Silva Nascimento Mancini <msnmancini at hotmail.com> ---
Hello RazvanN.
The solution I'm currently using, is by using this templated style:
```d
//TODO: Change (x) to (float x) for not generating templates needlessly
enum HipEasing : float function(float x)
{
identity = (x) => x,
}
```
I hope it may help in the bug lookup
--
More information about the Digitalmars-d-bugs
mailing list