import std.stdio;void test1(shared const float [] p) { writeln("works"); }
Nope, "shared const" still doesn't make sense to me. In the above example the p values can still change at any time. Why does "shared const" even exist?
import std.stdio;void test1(shared const float [] p) { writeln("works"); }
Nope, "shared const" still doesn't make sense to me. In the above example the p values can still change at any time. Why does "shared const" even exist?