Unsafe!(int*)* _c;
class A
{
Unsafe!(int*) _counter;
void escape() @safe { _c = &_counter; }
}Not sure if it's legal. It should be really untouchable.
Unsafe!(int*)* _c;
class A
{
Unsafe!(int*) _counter;
void escape() @safe { _c = &_counter; }
}Not sure if it's legal. It should be really untouchable.