2 Matching Annotations
- Nov 2021
-
segmentfault.com segmentfault.com
-
slice深拷贝和浅拷贝
可以参考这篇文章理解。
Tags
Annotators
URL
-
- Oct 2021
-
-
It’s important to understand that even though a slice contains a pointer, it is itself a value. Under the covers, it is a struct value holding a pointer and a length. It is not a pointer to a struct.
slice 是一个包含指针的结构体,他是一个具体值而不是指针
-