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: 27.11.9.1 [fs.enum.path.format], 27.11.12 [fs.class.directory_iterator], 27.11.14.3 [fs.op.copy] Status: New Submitter: Thomas Köppe Opened: 2017-03-14 Last modified: 2018-01-20

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:

[2017-07 Toronto Wed Issue Prioritization]

Priority 3

[2018-01-16, Jonathan comments]

In 27.11.9.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 27.11.12 [fs.class.directory_iterator] an "implementation-defined directory-like file type" is an implementation-defined file type (see 27.11.9.2 [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 27.11.7.1 [fs.path.generic]).

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

Proposed resolution: