Additional Binary Operators

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Mar 3 13:38:43 PST 2013


On 3/3/13 9:42 AM, Manu wrote:
> GCC has min and max operators, and the syntax is very clever:
>    min = a <? b;
>    max = a >? b;
> Ie, a shorthand of the ?: operator, in a similar way that C# has '??'
> (another really nice shorthand).

Gone. http://gcc.gnu.org/onlinedocs/gcc/Deprecated-Features.html

Andrei




More information about the Digitalmars-d mailing list