Skip to content

Conversation

EricWF
Copy link

@EricWF EricWF commented Feb 4, 2016

Hi Beman,

The current issue resolution says:

Effects: *this = parent_path(), except that if parent_path() == root_path(), clear().

But this should say root_name() instead of root_path(). For example the breakdown of /foo is:
root_name = ""
root_path = "/"
parent_path = "/"

Using root_name() means that path("/foo").remove_filename() should call clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant