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.