mirror of
https://github.com/CnTransGroup/EffectiveModernCppChinese.git
synced 2025-01-01 07:50:15 +08:00
deploy: 2492e6463b
This commit is contained in:
parent
0ced53853b
commit
43482d9312
@ -156,7 +156,7 @@ public:
|
||||
};
|
||||
|
||||
std::unique_ptr<Base> upb = //创建基类指针指向派生类对象
|
||||
std::make_unique<Derived>(); //关于std::make_unique
|
||||
std::make_unique<Derived>(); //关于std::make_unique
|
||||
… //请参见Item21
|
||||
|
||||
|
||||
|
@ -1778,7 +1778,7 @@ public:
|
||||
};
|
||||
|
||||
std::unique_ptr<Base> upb = //创建基类指针指向派生类对象
|
||||
std::make_unique<Derived>(); //关于std::make_unique
|
||||
std::make_unique<Derived>(); //关于std::make_unique
|
||||
… //请参见Item21
|
||||
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user