[Bug libstdc++/93470] [9/10 Regression] [C++2a] std::reference_wrapper to function type is broken with Clang

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 28 13:28:00 GMT 2020


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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:72a9fd209b6db3b5f81fbb008e22ea93c00465e5

commit r10-6288-g72a9fd209b6db3b5f81fbb008e22ea93c00465e5
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Jan 28 13:24:09 2020 +0000

    libstdc++: Avoid using sizeof with function types (PR 93470)

        PR libstdc++/93470
        * include/bits/refwrap.h (reference_wrapper::operator()): Restrict
        static assertion to object types.


More information about the Gcc-bugs mailing list