Quirin F. Schroll

Results 75 comments of Quirin F. Schroll

> > That’s strong evidence that those operators aren’t a good idea. The G++ devs probably don’t deprecate and remove features for no good reason. > > The evidence shows...

@Herringway > Is there some advantage over using [`dictionary.update(word.idup,…)`]? Yes, because `word.idup` allocates a new string, but if the key is already present, that doesn’t need to happen. Users shouldn’t...

Simplified the code a bit: * The getter isn’t needed. * `__gshared` isn’t needed. ```d struct S { int i; ~this() { i++; } } immutable S s; void consume(S...

(This is all with `rvaluerefparam` enabled.) Maybe a solution is to introduce a third value category *lrvalue* that is the result of a ternary expression with an lvalue and rvalue...

I’m quite sure that a DIP is not necessary for a change like this. It looks like an enhancement to me. If it was decided ~~that it is not~~ that...