diff options
author | fanquake <fanquake@gmail.com> | 2021-03-10 17:29:08 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-11 13:45:50 +0800 |
commit | 1a6323bdbe20bdb7b1c907d8fa0333ffa88b21ff (patch) | |
tree | 6fe5bb2f5cada3f43ad4e062a8b213142192b7da /doc/developer-notes.md | |
parent | 3ba2840e7ee81341b0748c0121aedc2e9305041a (diff) |
doc: update developer notes for removal of MakeUnique
Diffstat (limited to 'doc/developer-notes.md')
-rw-r--r-- | doc/developer-notes.md | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md index 8f2d7af089..0a78cdff20 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -595,11 +595,6 @@ Common misconceptions are clarified in those sections: - *Rationale*: This avoids memory and resource leaks, and ensures exception safety. -- Use `MakeUnique()` to construct objects owned by `unique_ptr`s. - - - *Rationale*: `MakeUnique` is concise and ensures exception safety in complex expressions. - `MakeUnique` is a temporary project local implementation of `std::make_unique` (C++14). - C++ data structures -------------------- |