Skip to content

Commit

Permalink
doc: update developer notes for removal of MakeUnique
Browse files Browse the repository at this point in the history
  • Loading branch information
fanquake committed Mar 11, 2021
1 parent 3ba2840 commit 1a6323b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/developer-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------------

Expand Down

0 comments on commit 1a6323b

Please sign in to comment.