Boost logo

Boost :

From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2020-01-30 04:59:59


On Wed, Jan 29, 2020 at 8:51 AM Phil Endecott via Boost
<boost_at_[hidden]> wrote:
> Have you considered to what extent its interface could
> look like std::filesystem::path ?

Do you mean just the path-handling interface of the URL container or
do you mean the whole container? For example using `operator/`?

I'm generally against getting fancy with overloading operators and
trying to make DSL. I have found that simple works best. In the case
of the URL container, good ole' fashioned "get" and "set" functions
with accurate, consistent, and descriptive are called for. I did
splurge a little bit and work up some container-like views over the
path and query params. And the query params will be modifiable through
the view, for example to insert or change params. (or erase them).

Thanks


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