Make filesystem::file_status default constructor non-explicit (LWG 2787)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 27 Oct 2017 17:49:21 +0000 (18:49 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 27 Oct 2017 17:49:21 +0000 (18:49 +0100)
commit9a3effa4116764731c0820b34d27dbef5d251e74
tree5c3a64cf337b01364ed2dc583732c5ca483d08d5
parentba05366bad9d07eb62822e78c5eb762831a7d16f
Make filesystem::file_status default constructor non-explicit (LWG 2787)

* include/bits/fs_dir.h (file_status): Make default constructor
non-explicit (LWG 2787).
* testsuite/27_io/filesystem/file_status/1.cc: New test.
* testsuite/experimental/filesystem/file_status/1.cc: New test.

From-SVN: r254159
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fs_dir.h
libstdc++-v3/testsuite/27_io/filesystem/file_status/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/filesystem/file_status/1.cc [new file with mode: 0644]