3 ms·
> implementing both "const" and "non const" methods cause a lot of code duplications D has an `inout` qualifier that has the effect of "transmitting" the const
by WalterBright 10y ago
> implementing both "const" and "non const" methods cause a lot of code duplications
D has an `inout` qualifier that has the effect of "transmitting" the const-ness of an argument to the return type.