diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-03-05 16:46:28 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-03-05 16:46:28 +0000 |
commit | 6a7052832a4791047b0ff4f18dcbb55c93a7336c (patch) | |
tree | 6addaf9fa0be127a433b541597091627f7db8b10 /libstdc++-v3/testsuite/experimental/filesystem | |
parent | c0e184b4ad4b28cbfc94290e8f1169a8297bb0de (diff) | |
download | gcc-6a7052832a4791047b0ff4f18dcbb55c93a7336c.zip gcc-6a7052832a4791047b0ff4f18dcbb55c93a7336c.tar.gz gcc-6a7052832a4791047b0ff4f18dcbb55c93a7336c.tar.bz2 |
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.
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/filesystem')
0 files changed, 0 insertions, 0 deletions