This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]