This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

### 2947. Clarify several filesystem terms

Section: 31.12.8.1 [fs.enum.path.format], 99 [fs.class.directory_iterator], 31.12.13.4 [fs.op.copy] Status: New Submitter: Thomas Köppe Opened: 2017-03-14 Last modified: 2020-09-06

Priority: 3

View all issues with New status.

Discussion:

During the application of P0430R2, we came across several terms that seem insufficiently clear and lacking proper definitions.

We would like clarification on what those terms mean, and we would welcome wording suggestions, or alternatively a verbose explanation and dispensation to change the presentation editorially.

The items in question are:

- What does it mean to 'always interpret [the character sequence] in the same way'? ([fs.enum.path.format], which is [path.format] in the paper)

- What is a "directory-like" file type? ([fs.class.directory_iterator])

- What is an "implementation-defined file type"? (e.g. [fs.op.copy])

[2017-07 Toronto Wed Issue Prioritization]

Priority 3

[2018-01-16, Jonathan comments]

In 31.12.8.1 [fs.enum.path.format] "always interpreted in the same way" means irrespective of the `path::format` value, or the content of the string. Maybe add ", rather than depending on the `path::format` value or the content of the character sequence".

In 99 [fs.class.directory_iterator] an "implementation-defined directory-like file type" is an implementation-defined file type (see [fs.enum.file_type] and Table 115) that is treated like a directory by the special rules that the OS has for non-regular files (see 31.12.6.2 [fs.path.generic]).

In 31.12.13.4 [fs.op.copy], an "implementation-defined file type" is exactly that, see [fs.enum.file_type] and Table 115 again. I don't see what isn't clear about that. Maybe add a cross-reference to [fs.enum.file_type].

Proposed resolution: