14 Oct
2021
14 Oct
'21
2:01 p.m.
On Thu, Oct 14, 2021 at 6:02 AM Dominique Devienne via Boost
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