Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Shared ownership is achieved using the function <<ref_make_shared_resource>>, which creates a new, reference-counted memory resource using a dynamic memory allocation and returns it as a <<ref_storage_ptr>>:通过函数 <<ref_make_shared_resource>> 可实现共享所有权,该函数会动态分配内存以创建一个新的、带引用计数的内存资源,并将其以 <<ref_storage_ptr>> 的形式返回:</ref_storage_ptr></ref_make_shared_resource>