Random Suggestion: Swap Operator <=>?

Julian Salazar julian at ifeelrandom.com
Fri Jul 17 17:25:24 PDT 2009


Thanks for the info! Can't believe I missed it...

(I think I accidentally clicked reply to sender instead of reply to group, 
sorry 'bout that.)

"Bill Baxter" <wbaxter at gmail.com> wrote in message 
news:mailman.105.1247790231.14071.digitalmars-d at puremagic.com...
> On Thu, Jul 16, 2009 at 5:14 PM, Julian Salazar<julian at ifeelrandom.com> 
> wrote:
>> I'm wondering, who here would use a swap operator if it were available?
>> ...
>> even a template in the standard library for it would be cool (or did I 
>> miss
>> something?). Or am I being deluded? :)
>
>
> Yes, I think you've just missed something:
> http://www.digitalmars.com/d/2.0/phobos/std_algorithm#swap
>
> --bb 




More information about the Digitalmars-d mailing list