Additional Binary Operators
Iain Buclaw
ibuclaw at ubuntu.com
Sun Mar 3 15:04:27 PST 2013
On Mar 3, 2013 9:41 PM, "Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org>
wrote:
>
> 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
>
>
And good riddance too.
Regards
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130303/29f04852/attachment-0001.html>
More information about the Digitalmars-d
mailing list