libstdc++: Avoid using sizeof with function types (PR 93470)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 28 Jan 2020 13:24:09 +0000 (13:24 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 28 Jan 2020 13:24:09 +0000 (13:24 +0000)
commit72a9fd209b6db3b5f81fbb008e22ea93c00465e5
tree235e12c87910903ae31d75f3818df290cfe2f5f2
parent759812fddc81c0c131d4633b2a7f56412ce8dbed
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.
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/refwrap.h