diff options
author | ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-21 19:53:26 +0000 |
---|---|---|
committer | ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-06-21 19:53:26 +0000 |
commit | 35d7e40f8654f789e82dbb0d45398942a22fe488 (patch) | |
tree | 682442a25a4dfb8a09356142015098db8fe62801 /config | |
parent | f4678453f192003cc462ad892a26fd446b135095 (diff) | |
download | gcc-35d7e40f8654f789e82dbb0d45398942a22fe488.tar.gz |
PR libstdc++/80675, PR libstdc++/80940
* include/std/istream:
(__is_convertible_to_basic_istream_test(basic_istream<_Ch, _Up>*)): New.
(__do_is_convertible_to_basic_istream_impl): Likewise.
(__is_convertible_to_basic_istream_impl): Likewise.
(__is_convertible_to_basic_istream): Use the new base.
(__rvalue_istream_type): New.
(operator>>(_Istream&&, _Tp&&)): Use the new helper alias
for the SFINAE check, convert to the helper alias type before
doing the actual extraction.
* include/std/ostream:
(__is_convertible_to_basic_ostream_test(basic_ostream<_Ch, _Up>*)): New.
(__do_is_convertible_to_basic_ostream_impl): Likewise.
(__is_convertible_to_basic_ostream_impl): Likewise.
(__is_convertible_to_basic_ostream): Use the new base.
(__rvalue_ostream_type): New.
(operator<<(_Ostream&&, const _Tp&)): Use the new helper alias
for the SFINAE check, convert to the helper alias type before
doing the actual insertion.
* testsuite/27_io/rvalue_streams-2.cc: Add new tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249468 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions