This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/78052] [5/6/7 Regression] allocator_traits<allocator<T>> partial specialization vs allocator<void>
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Oct 2016 10:13:42 +0000
- Subject: [Bug libstdc++/78052] [5/6/7 Regression] allocator_traits<allocator<T>> partial specialization vs allocator<void>
- Auto-submitted: auto-generated
- References: <bug-78052-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78052
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Thu Oct 20 10:13:10 2016
New Revision: 241365
URL: https://gcc.gnu.org/viewcvs?rev=241365&root=gcc&view=rev
Log:
PR78052 Define std::allocator<void>::{construct,destroy}
PR libstdc++/78052
* include/bits/allocator.h (allocator<void>::construct)
(allocator<void>::destroy): Define.
* testsuite/20_util/allocator/void.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/20_util/allocator/void.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/allocator.h