commit | 1ba7adabf29eb671e418692fad076ea6edd08e3d | [log] [tgz] |
---|---|---|
author | Jonathan Wakely <jwakely@redhat.com> | Fri Oct 15 11:52:08 2021 +0100 |
committer | Jonathan Wakely <jwakely@redhat.com> | Fri Oct 15 18:26:52 2021 +0100 |
tree | 7eebe23e3f85e0771dbb8366817553b2ac4c844f | |
parent | a01704fc45a727fbfc4999983b3e8886c0f86fed [diff] |
libstdc++: Remove unused functions in std::variant implementation These functions aren't used, and accessing the storage as a void* isn't compatible with C++20 constexpr requirements anyway, so we're unlikely to ever start using them in future. libstdc++-v3/ChangeLog: * include/std/variant (_Variant_storage::_M_storage()): Remove. (__detail::__variant::__get_storage): Remove. (variant): Remove friend declaration of __get_storage.