Created on 2014-01-30.00:00:00 last changed 89 months ago
Proposed resolution:
Change 12 Class directory_entry [class.directory_entry]:
// observers const path& path() const noexcept; operator const 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; operator const path&() const noexcept;Returns:
m_path
[ 17 Jun 2014 Rapperswil LWG discusses in depth, accepts proposed wording. ]
[ 2014-06-02 Beman Dawes provides rationale: ]
This conversion operator was removed whenstatus()
andsymlink_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 commondirectory_entry
use case.
[ 2014-05-19 Beman Dawes supplied proposed wording. ]
Addresses: filesys.ts
class directory_entry should retain operator const path&() from V2.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:10:41 | admin | set | status: wp -> open |
2016-01-28 01:00:35 | admin | set | messages: + msg7834 |
2016-01-28 01:00:35 | admin | set | messages: + msg7833 |
2016-01-28 01:00:35 | admin | set | messages: + msg7832 |
2016-01-28 01:00:35 | admin | set | messages: + msg7831 |
2014-01-30 00:00:00 | admin | create |