[Bug libstdc++/78052] [5/6/7 Regression] allocator_traits<allocator<T>> partial specialization vs allocator<void>

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 20 10:15:00 GMT 2016


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


More information about the Gcc-bugs mailing list