[Bug libstdc++/89416] [9 regression] std::vector<std::thread, custom_allocator>::push_back no longer builds.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 26 20:35:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Feb 26 20:34:46 2019
New Revision: 269229

URL: https://gcc.gnu.org/viewcvs?rev=269229&root=gcc&view=rev
Log:
PR libstdc++/89416 fix alloc insertable trait for clang (again)

        PR libstdc++/89416
        * include/bits/alloc_traits.h (__is_alloc_insertable_impl): Change
        to class template and partial specialization using void_t.
        (__is_copy_insertable, __is_move_insertable): Adjust base class.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/alloc_traits.h


More information about the Gcc-bugs mailing list