Additional Binary Operators

bearophile bearophileHUGS at lycos.com
Sun Mar 3 14:58:01 PST 2013


Andrei Alexandrescu:

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

Do you know why?

Those <? >? look nice enough, and maybe they are worth adding to 
D.

But it's also useful to keep max and min as free functions 
because they are useful for higher-order functions (and because 
in D you can't give single operators to max and min):

matrix1.map!max
matrix2.map!max
matrix3.map!length

Bye,
bearophile


More information about the Digitalmars-d mailing list