Created on 2016-10-21.00:00:00 last changed 100 months ago
Proposed resolution:
This wording is relative to N4606.
Edit [fs.class.file_status] as indicated:
class file_status {
public:
// 27.10.11.1, constructors and destructor:
file_status() noexcept : file_status(file_type::none) {}
explicit file_status(file_type ft = file_type::none,
perms prms = perms::unknown) noexcept;
[…]
};
Edit [fs.file_status.cons] as indicated:
explicit file_status() noexcept;
-1- Postconditions: type() == file_type::none and permissions() == perms::unknown.
[ 2016-11-12, Issaquah ]
Sat AM: Priority 0; move to Ready
[fs.class.file_status] depicts:
explicit file_status(file_type ft = file_type::none, perms prms = perms::unknown) noexcept;
while [fs.file_status.cons] describes two constructors:
explicit file_status() noexcept; explicit file_status(file_type ft, perms prms = perms::unknown) noexcept;
It's also not clear why the default constructor needs to be explicit. Unlike tag types, there doesn't seem to be a compelling reason to disallow constructing a file_status without naming the type.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
| 2017-03-05 23:41:16 | admin | set | status: ready -> wp |
| 2016-11-21 05:09:01 | admin | set | messages: + msg8670 |
| 2016-11-21 05:09:01 | admin | set | status: new -> ready |
| 2016-10-31 21:06:33 | admin | set | messages: + msg8576 |
| 2016-10-21 00:00:00 | admin | create | |