diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-09-12 21:28:38 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-09-15 10:24:01 +0100 |
commit | d19bdf8874059457fdfe50a9e14dad8f8b8cecbb (patch) | |
tree | 6ea04c155f5ecd6818606932c6f7eb40d8154da2 /gcc | |
parent | 8fa1430bb28c775bb8b97c4337b0cd61db9f4d2e (diff) | |
download | gcc-d19bdf8874059457fdfe50a9e14dad8f8b8cecbb.zip gcc-d19bdf8874059457fdfe50a9e14dad8f8b8cecbb.tar.gz gcc-d19bdf8874059457fdfe50a9e14dad8f8b8cecbb.tar.bz2 |
libstdc++: Remove non-void static assertions in variant's std::get [PR111172]
A void template argument would cause a substitution failure when trying
to form a reference for the return type, so the function body would
never be instantiated.
libstdc++-v3/ChangeLog:
PR libstdc++/111172
* include/std/variant (get<T>): Remove !is_void static
assertions.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions