Discussion Thread: DIP 1035-- at system Variables--Community Review Round 2

Kagamin spam at here.lot
Sat Feb 27 08:23:38 UTC 2021


A simple workaround is an unsafe wrapper:

struct Unsafe
{
	private T a;
	T get() @system { return a; }
}

struct IntSlice
{
	private Unsafe!(int*) ptr;
	private Unsafe!size_t length;
...



More information about the Digitalmars-d mailing list