When I added the new C++23 constructor I added a conditional include of , which was already being included unconditionally. This removes the unconditional include but changes the condition for the other one, so it's used for C++20 as well. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: * include/std/string_view: Only include once, and only for C++20 and later. Tested powerpc64le-linux. Committed to trunk.