Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2021-10-14 14:01:10


On Thu, Oct 14, 2021 at 6:02 AM Dominique Devienne via Boost
<boost_at_[hidden]> wrote:
> You pay for copies only if you really want to. Maybe having
> parse_url_as_view(str)
> and a safer parse_url(str) using the former but not returning a view would
> satisfy you?

Remember that there are potentially many url types that have ownership
of the buffer:

url
static_url
dynamic_url<Allocator>
pmr_url

Which one would the safe_parse_url() return?

Thanks


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