]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix <ostream> and <istream> for -std=gnu++14 -fconcepts [PR116070]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 24 Jul 2024 10:32:22 +0000 (11:32 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 24 Jul 2024 16:18:05 +0000 (17:18 +0100)
commit6c22fe418cff57dad712c4b950638e6e2d09bd9c
tree765df06941b6489fc554f5fbbbc40e007886f15f
parent5fc9c40fea2481e56bf7bcc994cb40c71e28abb8
libstdc++: Fix <ostream> and <istream> for -std=gnu++14 -fconcepts [PR116070]

This questionable combination of flags causes a number of errors. The
ones in the rvalue stream overloads need to be fixed in the gcc-14
branch so I'm committing it separately to simplify backporting.

libstdc++-v3/ChangeLog:

PR libstdc++/116070
* include/std/istream: Check feature test macro before using
is_class_v and is_same_v.
* include/std/ostream: Likewise.
libstdc++-v3/include/std/istream
libstdc++-v3/include/std/ostream