Ролан
03/23/2021, 11:01 AMmemScoped
behaviour :
val qOut = memScoped {
val q = allocArray<IntVar>(6)
q[0] = 56
q
}
println(qOut[0]) //prints 56
shouldn't have the memory behind q
been released?Artyom Degtyarev [JB]
03/23/2021, 11:39 AMРолан
03/23/2021, 12:05 PM