aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcc2.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-11-25 13:52:19 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2024-11-30 21:39:16 +0000
commit91f4550e1700b7fcc15baa37cbcd517cc02dc975 (patch)
treedf54aa160a26167a3ca72148b57ff145dca46c03 /libgcc/libgcc2.h
parent0598e2f98d28f3ddbf1a4bbced8177ea6b58ad93 (diff)
downloadgcc-91f4550e1700b7fcc15baa37cbcd517cc02dc975.zip
gcc-91f4550e1700b7fcc15baa37cbcd517cc02dc975.tar.gz
gcc-91f4550e1700b7fcc15baa37cbcd517cc02dc975.tar.bz2
libstdc++: Move std::monostate to <utility> for C++26 (P0472R2)
Another C++26 paper just approved in Wrocław. The std::monostate class is defined in <variant> since C++17, but for C++26 it should also be available in <utility>. libstdc++-v3/ChangeLog: * include/Makefile.am: Add bits/monostate.h. * include/Makefile.in: Regenerate. * include/std/utility: Include <bits/monostate.h>. * include/std/variant (monostate, hash<monostate>): Move definitions to ... * include/bits/monostate.h: New file. * testsuite/20_util/headers/utility/synopsis.cc: Add monostate and hash<monostate> declarations. * testsuite/20_util/monostate/requirements.cc: New test.
Diffstat (limited to 'libgcc/libgcc2.h')
0 files changed, 0 insertions, 0 deletions