This is the mail archive of the gcc-patches@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]

[patch] partially fix libstdc++/56267


        PR libstdc++/56267
        * include/bits/hashtable.h (__cache_default): Check if hash function
        is copy assignable.
        * testsuite/23_containers/unordered_set/56267.cc: New.
        * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
        dg-error line number.
        * testsuite/23_containers/unordered_set/
        not_default_constructible_hash_neg.cc: Likewise.

Tested x86_64-linux, committed to trunk, will also commit to 4.7 soon.

Attachment: patch-56267.txt
Description: Text document


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