27 Input/output library [input.output]

27.10 File systems [filesystems]

27.10.12 Class directory_entry [class.directory_entry]

27.10.12.2 directory_entry modifiers [directory_entry.mods]

void assign(const path& p);

Postconditions: path() == p.

void replace_filename(const path& p);

Postconditions: path() == x.parent_path() / p where x is the value of path() before the function is called.