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" <[email protected]> wrote in message
news:[email protected]...
On Thu, Jul 16, 2009 at 5:14 PM, Julian Salazar<[email protected]>
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