]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Define deleted wchar_t overloads unconditionally [PR 98725]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 8 Oct 2021 13:26:09 +0000 (14:26 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 8 Oct 2021 23:57:50 +0000 (00:57 +0100)
commit9a89281c4005a51eeed058ca66bcce8df1dd1b24
treec59a74bd4a3f16e6b2d71ba25a8d289ed159f664
parent3c9fbc26af6739c7ddf8f0895ae68b530cf88bbe
libstdc++: Define deleted wchar_t overloads unconditionally [PR 98725]

We don't need to have <wchar.h> support in order to delete overloads
for inserting wide characters into narrow streams.

libstdc++-v3/ChangeLog:

PR libstdc++/98725
* include/std/ostream (operator<<(basic_ostream<char, Tr>&, wchar_t))
(operator<<(basic_ostream<char, Tr>&, const wchar_t*)): Always
define as deleted. Do not check _GLIBCXX_USE_WCHAR_T.
libstdc++-v3/include/std/ostream