Get pointer to managed object of ElementType or reference if ElementType is reference type (class or interface) or dynamic array.
{ GlobalPtr!long x = new long(123); assert(*x.element == 123); x.get = 321; assert(*x.element == 321); const y = x; assert(*y.element == 321); assert(*x.element == 321); static assert(is(typeof(y.element) == const(long)*)); }
See Implementation
Get pointer to managed object of ElementType or reference if ElementType is reference type (class or interface) or dynamic array.