tmp/tmpcyaaydvh/{from.md → to.md}
RENAMED
|
@@ -24,12 +24,12 @@ the newly constructed object of type `T`.
|
|
| 24 |
*Postconditions:* `get() != 0 && use_count() == 1`
|
| 25 |
|
| 26 |
*Throws:* `bad_alloc`, or an exception thrown from `A::allocate` or from
|
| 27 |
the constructor of `T`.
|
| 28 |
|
| 29 |
-
*Remarks:* Implementations
|
| 30 |
-
|
| 31 |
-
|
| 32 |
|
| 33 |
These functions will typically allocate more memory than `sizeof(T)` to
|
| 34 |
allow for internal bookkeeping structures such as the reference counts.
|
| 35 |
|
|
|
|
| 24 |
*Postconditions:* `get() != 0 && use_count() == 1`
|
| 25 |
|
| 26 |
*Throws:* `bad_alloc`, or an exception thrown from `A::allocate` or from
|
| 27 |
the constructor of `T`.
|
| 28 |
|
| 29 |
+
*Remarks:* Implementations should perform no more than one memory
|
| 30 |
+
allocation. This provides efficiency equivalent to an intrusive smart
|
| 31 |
+
pointer.
|
| 32 |
|
| 33 |
These functions will typically allocate more memory than `sizeof(T)` to
|
| 34 |
allow for internal bookkeeping structures such as the reference counts.
|
| 35 |
|