https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94051

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:6a7052832a4791047b0ff4f18dcbb55c93a7336c

commit r10-7044-g6a7052832a4791047b0ff4f18dcbb55c93a7336c
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Mar 5 16:46:28 2020 +0000

    libstdc++: allow string_view insertion to work with <iosfwd> (PR 94051)

    I don't think this is actually required to compile, because using
    operator<< without a definition of the ostream doesn't seem valid to me.
    But it's easy to make it work.

        PR libstdc++/94051
        * include/std/string_view: Include <bits/ostream_insert.h>.
        * testsuite/21_strings/basic_string_view/inserters/94051.cc: New test.

Reply via email to