Title
path::root_directory() description is confusing
Status
c++17
Section
[fs.path.decompose]
Submitter
Jonathan Wakely

Created on 2014-07-03.00:00:00 last changed 81 months ago

Messages

Date: 2017-03-19.19:35:20

Proposed resolution:

Change [fs.path.decompose] as indicated:

path root_directory() const;

Returns: root-directory, if pathname includes root-directory, otherwise path().

If root-directory is composed of slash name, slash is excluded from the returned string.

Date: 2016-04-10.22:23:37

[ Apr 2016 Issue updated to address the C++ Working Paper. Previously addressed File System TS ]

Date: 2017-03-19.19:35:20

[fs.path.decompose] p5 says:

If root-directory is composed of slash name, slash is excluded from the returned string.

but the grammar says that root-directory is just slash so that makes no sense.

History
Date User Action Args
2017-07-30 20:15:43adminsetstatus: wp -> c++17
2016-06-28 12:47:21adminsetstatus: ready -> wp
2016-04-10 22:23:37adminsetmessages: + msg8040
2016-03-07 04:46:57adminsetstatus: new -> ready
2016-01-28 01:00:35adminsetmessages: + msg7923
2014-07-03 00:00:00admincreate