Simple features that I've always missed from C...

kennytm kennytm at gmail.com
Mon Oct 17 19:11:55 PDT 2011


Manu <turkeyman at gmail.com> wrote:
> 
> *Min/Max operators:* GCC has the lovely <? and >? operators... a <? b ==
> min(a, b) .. Why this hasn't been adopted by all C compilers is beyond me.
> Surely this couldn't be much trouble to add? Again, super useful in
> vector/maths heavy code too.
>

FYI, g++ has deprecated these operators long time ago (since 4.0). 

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


More information about the Digitalmars-d mailing list