Section: 99 [filesys.ts::class.directory_entry] Status: TS Submitter: P.J. Plauger Opened: 2014-01-30 Last modified: 2017-07-30
Priority: Not Prioritized
View all other issues in [filesys.ts::class.directory_entry].
View all issues with TS status.
class directory_entry should retain operator const path&() from V2.
[2014-05-19 Beman Dawes supplied proposed wording.]
[2014-06-02 Beman Dawes provides rationale:]
This conversion operator was removed when
symlink_status()were added during the transition from V2 to V3 as it seemed a bit unusual to have a conversion operator for one of the several values held. Users complained as they had found the automatic conversion convenient in the most common
[17 Jun 2014 Rapperswil LWG discusses in depth, accepts proposed wording.]
Change 12 Class directory_entry [class.directory_entry]:
// observers const path& path() const noexcept; file_status status() const; file_status status(error_code& ec) const noexcept; file_status symlink_status() const; file_status symlink_status(error_code& ec) const noexcept;
Change 12.3 directory_entry observers [directory_entry.obs]:
const path& path() const noexcept;