Variadic grouping
Artur Skawina
art.08.09 at gmail.com
Mon Jul 29 13:41:48 PDT 2013
On 07/29/13 17:03, bearophile wrote:
> errors += global.endGagging(oldGaggedErrors);
>
> It's replaced with:
> if (global.endGagging(oldGaggedErrors))
> errors = true;
>
> Looking at that code it's easy to think about code like this, that is not currently supported:
>
> errors ||= global.endGagging(oldGaggedErrors);
>
> Is the "||=" operator useful?
Not really.
errors |=!! global.endGagging(oldGaggedErrors);
artur
More information about the Digitalmars-d
mailing list