Skip to content

Commit e105853

Browse files
tomaszkamjwakely
authored andcommitted
Set 4058 to LEWG/P3
1 parent bf7e62d commit e105853

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

xml/issue4058.xml

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

4-
<issue num="4058" status="New">
4+
<issue num="4058" status="LEWG">
55
<title><code>std::to_address()</code> should be SFINAE-friendly</title>
66
<section><sref ref="[pointer.conversion]"/></section>
77
<submitter>Peter Kasting</submitter>
88
<date>13 Mar 2024</date>
9-
<priority>99</priority>
9+
<priority>3</priority>
1010

1111
<discussion>
1212
<p>
@@ -33,6 +33,14 @@ Also note that libc++'s current implementation of `to_address`,
3333
which is SFINAE-friendly,
3434
<a href="https://godbolt.org/z/e681Ynhf1">does not produce such a hard error</a>.
3535
</p>
36+
37+
<note>2025-10-23; Reflector poll; Status changed: New &rarr; LEWG and P3.</note>
38+
<p>
39+
There is support for both having `std::to_address` SFINAE friendly,
40+
and producing hard error early, for iterators that define `iterator_concept`
41+
as contiguous but fail to satisfy the concept due to not providing `operator->()`.
42+
LEWG should decide on which direction is prefered.
43+
</p>
3644
</discussion>
3745

3846
<resolution>

0 commit comments

Comments
 (0)