[fs.op.status] paragraph 2 says:
Effects: As if:
error_code ec;
file_status result = status(p, ec);
if (result == file_type::none)
This won't compile, there is no comparison operator for file_status and file_type, and the conversion from file_type to file_status is explicit.
Proposed resolution:
Effects: As if:
error_code ec;
file_status result = status(p, ec);
if (result.type() == file_type::none)