libstdc++: Reduce size of std::bind_front(empty_type) result [PR108290]
commite2eab3c4edb6aa9a93f982c4554cd756000934ca
authorJonathan Wakely <jwakely@redhat.com>
Thu, 5 Jan 2023 11:35:35 +0000 (5 11:35 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 5 Jan 2023 16:28:43 +0000 (5 16:28 +0000)
tree80d247af4cee8e45df2a26b902ac8859b0e98ff0
parentefce0caf2d75dff5a83812b8da2dd3725197ac7c
libstdc++: Reduce size of std::bind_front(empty_type) result [PR108290]

libstdc++-v3/ChangeLog:

PR libstdc++/108290
* include/std/functional (_Bind_front): Add no_unique_address
attribute to data members.
* testsuite/20_util/function_objects/bind_front/107784.cc: Check
size of call wrappers with empty types for targets and bound
arguments.
libstdc++-v3/include/std/functional
libstdc++-v3/testsuite/20_util/function_objects/bind_front/107784.cc