<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Bogus warnings: warning: 'allocator<void>' is deprecated"
href="https://bugs.llvm.org/show_bug.cgi?id=50299">bug 50299</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>CONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>87784cc6fb3453a17e0e7826b943a1d93cbfeccf
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Bogus warnings: warning: 'allocator<void>' is deprecated"
href="https://bugs.llvm.org/show_bug.cgi?id=50299#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Bogus warnings: warning: 'allocator<void>' is deprecated"
href="https://bugs.llvm.org/show_bug.cgi?id=50299">bug 50299</a>
from <span class="vcard"><a class="email" href="mailto:ldionne@apple.com" title="Louis Dionne <ldionne@apple.com>"> <span class="fn">Louis Dionne</span></a>
</span></b>
<pre>commit 87784cc6fb3453a17e0e7826b943a1d93cbfeccf
Author: Louis Dionne <<a href="mailto:ldionne.2@gmail.com">ldionne.2@gmail.com</a>>
Date: Tue Jun 15 16:08:38 2021 -0400
[libc++] Undeprecate the std::allocator<void> specialization
While the std::allocator<void> specialization was deprecated by
<a href="https://wg21.link/p0174#2.2">https://wg21.link/p0174#2.2</a>, the *use* of std::allocator<void> by users
was not. The intent was that std::allocator<void> could still be used
in C++17 and C++20, but starting with C++20 (with the removal of the
specialization), std::allocator<void> would use the primary template.
That intent was called out in wg21.link/p0619r4#3.9.
As a result of this patch, _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
will also not control whether the explicit specialization is provided or
not. It shouldn't matter, since in C++20, one can simply use the primary
template.
Fixes <a href="http://llvm.org/PR50299">http://llvm.org/PR50299</a>
Differential Revision: <a href="https://reviews.llvm.org/D104323">https://reviews.llvm.org/D104323</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>