Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2022-08-15 15:50:11


On 8/15/22 18:42, Andrey Semashev 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.

I should also note that filesystem::path is not a container either
because path::value_type is different from that of path::iterator.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk