Richard Hodges
Richard Hodges
This is my workaround: Call site: ``` // perform the redirect by updating the URL and jumping to // the goto label above. url = resolve_redirect( url, boost::urls::url_view( response[beast::http::field::location])); goto...
A possible use case: ``` auto url = boost::urls::url_view(urlstr); auto [scheme, port] = infer_scheme_and_port(url); // build the appropriate websocket stream type depending on whether the URL // indicates a TCP...
My unfounded assertion: This is going to be a huge source of support calls and user frustration. Users don't read RFCs. My compromise: show it as an example that users...
The manual loop, parsing via the JSON DOM is not performing error-checking on the types in the DOM. It'll exhibit UB if the JSON is valid but not correctly representing...
Optionals have the member functions .has_value() and .get() That’s probably enough?
I agree with Klemens here. JSON is closely linked with the value models of JavaScript and to a lesser extent, python. If you’re going to handle non-numbers at all, the...
@grisumbras bump! This is a much-missed feature.
Did you copy/paste the example exactly, or have you modified it since the copy/paste? Can you show the error message emitted by the compiler please?
Is this actually failing to compile? The picture is showing an intellisense lookup failure.
@ecatmur Thank you for taking the time to post the PR. What do we gain in practice from this change? I am thinking in terms of memory use, search times,...