]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Avoid using sizeof with function types (PR 93470)
authorJonathan Wakely <jwakely@redhat.com>
Thu, 5 Mar 2020 16:52:19 +0000 (16:52 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 5 Mar 2020 17:32:16 +0000 (17:32 +0000)
commit08ed34284f4e6ac9a4e647d9caa82ee4b4de0fa3
treec23eb7a4446b2cd25d69e833a98c7f1d81ead0a6
parentd37244b40d20a54a12ee207a73518ad0f4edd88f
libstdc++: Avoid using sizeof with function types (PR 93470)

Backport from mainline
2020-01-28  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/93470
* include/bits/refwrap.h (reference_wrapper::operator()): Restrict
static assertion to object types.
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/refwrap.h
This page took 0.056676 seconds and 6 git commands to generate.