gcc/libstdc++-v3/testsuite/27_io
Jonathan Wakely b0874c667d LWG 2989 hide path iostream operators from normal lookup
By only defining these operators as friends (with no namespace-scope
declaration) they can only be found by ADL and do not participate in
overload resolution for arguments of types other than path.

	LWG 2989 hide path iostream operators from normal lookup
	* include/bits/fs_path.h (operator<<, operator>>): Define inline as
	friends.
	* testsuite/27_io/filesystem/path/io/dr2989.cc: New.

From-SVN: r261711
2018-06-18 19:59:44 +01:00
..
basic_filebuf Add support for opening file streams from wide character strings 2018-05-21 18:18:35 +01:00
basic_fstream Add support for opening file streams from wide character strings 2018-05-21 18:18:35 +01:00
basic_ifstream Add support for opening file streams from wide character strings 2018-05-21 18:18:35 +01:00
basic_ios PR libstdc++/85222 allow catching iostream errors as gcc4-compatible ios::failure 2018-04-10 15:36:09 +01:00
basic_iostream Update copyright years. 2018-01-03 11:03:58 +01:00
basic_istream PR libstdc++/85222 allow catching iostream errors as gcc4-compatible ios::failure 2018-04-10 15:36:09 +01:00
basic_istringstream Update copyright years. 2018-01-03 11:03:58 +01:00
basic_ofstream Add support for opening file streams from wide character strings 2018-05-21 18:18:35 +01:00
basic_ostream PR libstdc++/85222 allow catching iostream errors as gcc4-compatible ios::failure 2018-04-10 15:36:09 +01:00
basic_ostringstream Update copyright years. 2018-01-03 11:03:58 +01:00
basic_streambuf Update copyright years. 2018-01-03 11:03:58 +01:00
basic_stringbuf Update copyright years. 2018-01-03 11:03:58 +01:00
basic_stringstream Update copyright years. 2018-01-03 11:03:58 +01:00
filesystem LWG 2989 hide path iostream operators from normal lookup 2018-06-18 19:59:44 +01:00
fpos Update copyright years. 2018-01-03 11:03:58 +01:00
headers Update copyright years. 2018-01-03 11:03:58 +01:00
ios_base PR libstdc++/68197 fail on negative iword/pword indices 2018-05-02 20:04:55 +01:00
manipulators PR libstdc++/86008 add std::quoted support for string_view 2018-06-06 07:05:07 +01:00
objects Update copyright years. 2018-01-03 11:03:58 +01:00
types Update copyright years. 2018-01-03 11:03:58 +01:00
rvalue_streams-2.cc Update copyright years. 2018-01-03 11:03:58 +01:00
rvalue_streams.cc Update copyright years. 2018-01-03 11:03:58 +01:00