void donttrythisathome(string s, char stripchar) @trusted { import core.stdc.stdlib; char* begin = cast(char*)alloca(s.length);
A function with that name, and calling alloca to boot, cannot be @trusted ;)
Stanislav Blinov via Digitalmars-d-learn Sat, 11 Dec 2021 01:45:46 -0800
void donttrythisathome(string s, char stripchar) @trusted { import core.stdc.stdlib; char* begin = cast(char*)alloca(s.length);
A function with that name, and calling alloca to boot, cannot be @trusted ;)