libstdc++: Make std::move_only_function never valueless in std::variant
authorJonathan Wakely <jwakely@redhat.com>
Thu, 23 Jun 2022 17:42:55 +0000 (18:42 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 27 Jun 2022 10:08:16 +0000 (11:08 +0100)
commita364488f7a70ebf6c1fd59fed9f6a8a477591087
tree9cbdf43341815173039bcf56a7b41dbe53cf2742
parentda55353e95f8ace6ff7d48e208e4f216623f6324
libstdc++: Make std::move_only_function never valueless in std::variant

This is not suitable to backport, as it affects the ABI of std::variant
and so isn't appropriate for a release branch.

libstdc++-v3/ChangeLog:

* include/bits/move_only_function.h (_Never_valueless_alt):
Define partial specialization for std::move_only_function.
libstdc++-v3/include/bits/move_only_function.h