Skip to content

Commit e1be46f

Browse files
committed
Move 4451 to Immediate
1 parent 398e209 commit e1be46f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

xml/issue4451.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version='1.0' encoding='utf-8' standalone='no'?>
22
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
33

4-
<issue num="4451" status="New">
4+
<issue num="4451" status="Immediate">
55
<title>`make_shared` should not refer to a type `U[N]` for runtime N</title>
66
<section><sref ref="[util.smartptr.shared.create]"/></section>
77
<submitter>Jonathan Wakely</submitter>
@@ -14,7 +14,11 @@
1414
The overloads of `make_shared` and `allocate_shared` for creating
1515
<code>shared_ptr&lt;T[]&gt;</code> refer to an object a type `U[N]`
1616
where `N` is a function parameter not a constant expression.
17+
Since `N` is allowed to be zero, this also allows `U[0]` which is
18+
an invalid type and so totally ill-formed.
1719
</p>
20+
21+
<note>Kona 2025-11-06; approved by LWG. Status changed: New &rarr; Immediate.</note>
1822
</discussion>
1923

2024
<resolution>

0 commit comments

Comments
 (0)