ZaynPei's Base
HOME
AI
ALGORITHMS
LANGUAGE
SYSTEM
WEB
MISC
TOOLS
HOME
AI
ALGORITHMS
LANGUAGE
SYSTEM
WEB
MISC
TOOLS
20
Tags
22
Categories
207
Posts
条款 21 - 优先选用 std::make_unique 和 std::make_shared, 而非直接使用 new
ZaynPei
Lv6
2025-09-18 22:00
2025-09-18 22:00
Created
2025-09-18 21:03:13
2025-09-18 21:03:13
Updated
language
language
|
CPP
7 Words
1 Mins
三大make系列函数
#language
#CPP
条款 30 - 熟悉完美转发的失败情形
Prev posts
条款 20 - 对类似 std::shared_ptr 但有可能空悬的指针使用 std::weak_ptr
Next posts
On this page
条款 21 - 优先选用 std::make_unique 和 std::make_shared, 而非直接使用 new
三大make系列函数