gcc/libstdc++-v3/include
Ville Voutilainen a7da488130 Implement LWG 2534, Constrain rvalue stream operators.
* include/std/istream (__is_convertible_to_basic_istream): New.
(__is_extractable): Likewise.
(operator>>(basic_istream<_CharT, _Traits>&&, _Tp&&)):
Turn the stream parameter into a template parameter
and constrain.
* include/std/ostream (__is_convertible_to_basic_ostream): New.
(__is_insertable): Likewise.
(operator<<(basic_ostream<_CharT, _Traits>&&, const _Tp&)):
Turn the stream parameter into a template parameter
and constrain.
* testsuite/27_io/basic_istream/extractors_other/char/4.cc: New.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/6.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/6.cc: Likewise.

From-SVN: r243006
2016-11-30 11:59:50 +02:00
..
backward
bits PR 59406 note that FNV hash functions are incorrect 2016-11-15 20:17:39 +00:00
c
c_compatibility
c_global Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
c_std
debug
decimal
experimental PR78494 add missing returns to propagate_const 2016-11-23 14:45:29 +00:00
ext Implement uniform_inside_sphere_distribution extension. 2016-10-26 15:34:18 +00:00
parallel
precompiled
profile
std Implement LWG 2534, Constrain rvalue stream operators. 2016-11-30 11:59:50 +02:00
tr1 Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
tr2
Makefile.am Split <functional> into smaller pieces 2016-10-21 16:32:25 +01:00
Makefile.in Split <functional> into smaller pieces 2016-10-21 16:32:25 +01:00