Skip to content

Commit 1f92e0b

Browse files
committed
Merge pull request #380 from FrankHB/patch-3
[expr.new] Avoid "heap allocation"
2 parents 802ce67 + 73ced79 commit 1f92e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3024,7 +3024,7 @@
30243024
\enterexample
30253025
\begin{codeblock}
30263026
void mergeable(int x) {
3027-
// These heap allocations are safe for merging:
3027+
// These allocations are safe for merging:
30283028
std::unique_ptr<char[]> a{new (std::nothrow) char[8]};
30293029
std::unique_ptr<char[]> b{new (std::nothrow) char[8]};
30303030
std::unique_ptr<char[]> c{new (std::nothrow) char[x]};

0 commit comments

Comments
 (0)