On Wed, Oct 13, 2021 at 5:56 PM Gavin Lambert via Boost
(On that note, url::resolve is undocumented and doesn't seem to have the correct signature -- having both a base and relative parameter only makes sense if it's static or free, but it appears to be declared as instance. Unless the instance is only used as a completely-replaced output, but that seems weird and a free function with return value makes more sense to me.)
Yes `this` is used as a "completely-replace output." A free function with a return value doesn't work, because there are a few different flavors of url (url, static_url, and possibly a couple more if users request them). They differ in how they obtain their storage. But they use url as a base class. So having `url::resolve` a as member function makes it all work out.