mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
doc: update developer notes for removal of MakeUnique
This commit is contained in:
parent
3ba2840e7e
commit
1a6323bdbe
1 changed files with 0 additions and 5 deletions
|
@ -595,11 +595,6 @@ Common misconceptions are clarified in those sections:
|
||||||
|
|
||||||
- *Rationale*: This avoids memory and resource leaks, and ensures exception safety.
|
- *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
|
C++ data structures
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue