Random Suggestion: Swap Operator <=>?
Jarrett Billingsley
jarrett.billingsley at gmail.com
Fri Jul 17 05:51:20 PDT 2009
On Fri, Jul 17, 2009 at 1:05 AM, Lionello
Lunesu<lionello at lunesu.remove.com> wrote:
>
> "Julian Salazar" <julian at ifeelrandom.com> wrote in message
> news:h3ofpl$1rur$1 at digitalmars.com...
>>
>> theoretically this operator (which I propose to be "<=>")
>
> Nooooo! That's my imaginary opCmp operator!
And it's already a reality in Perl and MiniD ;)
Gaww, it's so nice for writing opCmp overloads and sorting predicates.
More information about the Digitalmars-d
mailing list