Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2021-10-18 20:12:13


On Mon, Oct 18, 2021 at 12:38 PM Peter Dimov via Boost
<boost_at_[hidden]> wrote:
> That is, if you have a string, and you construct an URL object from it, then
> take its state as returned by the accessors, copy it into another empty URL,
> the resultant string should be the same as the original

Yes, and note that the "absoluteness" of the path is a property of the
URL which is reflected in the url API and not the segments:

    bool url_view::is_path_absolute() const noexcept;
    bool url::set_path_absolute( bool should_be_absolute );

Thanks


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