I'm using template asarray*[T](p:pointer):auto = type A{.unchecked.} = array[0..0,T] cast[ptr A](p)
for now. Is there a difference between `cast[ptr A](p)` and `cast[ref A](p)` here?
I'm using template asarray*[T](p:pointer):auto = type A{.unchecked.} = array[0..0,T] cast[ptr A](p)
for now. Is there a difference between `cast[ptr A](p)` and `cast[ref A](p)` here?