================
@@ -135,7 +135,7 @@ <h2 id="cxx26">C++2c implementation status</h2>
<tr>
<td>Static storage for braced initializers</td>
<td><a href="https://wg21.link/P2752R3">P2752R3</a> (<a
href="#dr">DR</a>)</td>
- <td class="none" align="center">No</td>
+ <td class="unreleased" align="center">Clang 23</td>
----------------
efriedma-quic wrote:
Actually, technically, the paper has a consequence: it interacts with
[expr.const], speciifcally the "equality operator comparing pointers to
potentially non-unique objects". We need to ensure that the following produces
an error:
```
#include <initializer_list>
constexpr bool f(std::initializer_list<int> a, std::initializer_list<int> b) {
return a.begin()!=b.begin();
}
static_assert(f({1},{1}));
```
https://github.com/llvm/llvm-project/pull/197458
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits