Google C++ Style Guidegoes out of scope. It cannot be copied, but can be moved to represent owner- ship transfer. std::shared_ptr is a smart pointer type that expresses shared ownership of a dynamically allocated object. std::shared_ptrs ownership of the object is shared among all copies, and the object is deleted when the last std::shared_ptr is destroyed. • It’s virtually impossible to manage dynamically allocated memory without some if the performance benefits are significant, and the underlying object is im- mutable (i.e. std::shared_ptr). If you do use shared ownership, prefer to use std::shared_ptr. Do not use scoped_ptr 0 码力 | 83 页 | 238.71 KB | 1 年前3
Bring Your Own Codegen to TVMShared Library runtime::PackedFunc DNNLModule::GetFunction( const std::string& name, const std::shared_ptr& sptr_to_self) { if (name == "init") { return PackedFunc([sptr_to_self, this](TVMArgs 0 码力 | 19 页 | 504.69 KB | 5 月前3
Krita 5.2 Manualwill not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1502 页 | 79.07 MB | 1 年前3
Krita 5.2 브로셔will not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1531 页 | 79.11 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06Awill not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1594 页 | 110.95 MB | 1 年前3
Krita 4.x 官方文档中文版 2021-08-06Awill not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1373 页 | 74.74 MB | 1 年前3
Krita 5.2 中文手册will not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1594 页 | 79.20 MB | 1 年前3
Krita 5.2 官方文档中文版 2023-12-08Awill not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1685 页 | 91.87 MB | 1 年前3
Krita 5.2 官方文档中文版 2023-12-08Awill not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1562 页 | 79.19 MB | 1 年前3
Krita 5.1 官方文档中文版 2023-05-26Awill not be useful Threading support (Relies on C++ threading model; use Qt threading instead) shared_ptr and weak_ptr (Relies on C++ threading model; use KisSharedPointer instead) New literal types (already0 码力 | 1547 页 | 78.22 MB | 1 年前3
共 11 条
- 1
- 2













