LWG 3171: restore stream insertion for filesystem::directory_entry
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Dec 2018 16:57:36 +0000 (16:57 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 18 Dec 2018 16:57:36 +0000 (16:57 +0000)
commit4894e316a8feaf1d38e64e867358107445b7dc31
treeb5332b05f10eef7826f43eb8ad3a8892c7042c41
parentfb601354e11d8c0db41cd119d51fe1acd4afa648
LWG 3171: restore stream insertion for filesystem::directory_entry

* include/bits/fs_dir.h (operator<<): Overload for directory_entry,
as per LWG 3171.
* testsuite/27_io/filesystem/directory_entry/lwg3171.cc: New test.

From-SVN: r267238
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fs_dir.h