Vladimir Panteleev
Vladimir Panteleev
Speaking of StatsCollector, we should probably fix this before using it for such purposes: https://issues.dlang.org/show_bug.cgi?id=18854
You mean, whenever a pointer would be used, make RCIAllocator the recommended choice? I think that would be fine, though perhaps ideally we'd have better move construction semantics in the...
> auto a = &(json.object()); BTW, I think we can fix this example by making JSONValue not use unions. It will use more memory, but it will be safe. I...
Thanks! > Imho we should deprecate the entire module and point people to the requests package. I quite like std.net.curl for small programs. - Very simple API, doesn't get simpler...
I think this needs a changelog entry, as programs that "worked" previously will now throw. (Programs written before this change might have elected to search for an error message string...
@MartinNowak Do you think the custom logic could be replaced with `CURLOPT_FAILONERROR`, so that we could match the behavior with `curl --fail`?
But it's not UFCS-able :(
UFCS is one of the more beautiful parts of D. Even though the code worked by chance, it saddens me that code like this now has to become uglier. I...
Yep, + invert args. I guess `.reverseArgs!put` will work now, but it's not really idiomatic. Anyway not a blocker I guess.
Test, please? You can use `static assert(!__traits(compiles, ...))` to test for accepts-invalid bugs.