Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions xml/issue4574.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">

<issue num="4574" status="New">
<issue num="4574" status="Resolved">
<title><tt>constant_wrapper&lt;nullptr, int()&gt;</tt> bypasses `function_ref` class invariant</title>
<section>
<sref ref="[const.wrap.class]"/>
Expand All @@ -14,7 +14,7 @@
<discussion>
<p>
The wording in neither <sref ref="[const.wrap.class]"/> nor <sref ref="[func.wrap.ref]"/>
places a constraint on the 2nd template argument of `constant_wrapper`, so it can be
places a constraint on the 2nd template argument of `constant_wrapper`, so it can be
anything. An interpretation of the standard text based on that can cause
</p>
<blockquote><pre>
Expand Down Expand Up @@ -58,6 +58,8 @@ Set priority to 2 after reflector poll.
<p>
This should be resolved by <paper num="P4206R0"/>.
</p>

<note>2026-08-27 <paper num="P4206R0"/> was approved in Brno. Status changed: New &rarr; Resolved.</note>
</discussion>

<resolution>
Expand Down