On 15/08/2022 16:42, Andrey Semashev via Boost wrote:
On 8/15/22 18:32, Vinnie Falco wrote:
boost::filesystem::path used to meet the requirements of MutableString, but now does not: https://master.url.cpp.al/url/concepts/mutablestring.html https://master.url.cpp.al/url/concepts/mutablestring.html
It does not meet the requirements on Windows, and never did - path::value_type is wchar_t there.
Also, you don't define the semantics of the operations, in particular, what is the expected result. Regardless of the platform, path::append does not merely appends characters, it appends a path, which may result in appending a directory delimiter or completely replacing the path if the argument is an absolute path. Depending on what exactly you mean by "Appends the characters", this may or may not qualify.
Also "foo/bar" == "foo//bar" for filesystem paths. And several other comparisons are equal which wouldn't be if a filesystem path were a basic string. Niall