cpp/experimental/fs/path/replace extension

Replaces the extension with or removes it when the default value of  is used.

Firstly, if this path has an, it is removed.

Then, a dot character is appended if is not empty or does not begin with a dot character.

Then is appended to the path.