Search

October 10, 2007
General »
i use:

void swap(T)(ref T a, ref T b) {
  T t = a;
  a...
October 10, 2007
General »
Not really nessesary, but nice to have...
int a = 1;
int b = 2;
a <=> b...
October 09, 2007
General »
...kill it because it is
trying to swap my machine to death).

I can make...
October 08, 2007
Announce »
...for me. Not to mention having to swap gdb for ddbg or whatever it is...
October 06, 2007
General »
...See C++, there are much of swap functions, and much of nothrowing problem in swap.
October 04, 2007
General »
...size of structure where swap members becomes more efficient than swap via a temporary is...
October 04, 2007
General »
...three lines in a template function called "swap".  If the compiler can recognize that's...
October 04, 2007
General »
Uh? If 'swap(a,b)' is ok, then you put swap as a function call...
October 04, 2007
General »
...It is whole lot easy to recognise "swap(a,b)" or even "a<->b" as...
October 04, 2007
General »
...couldn't recognize that this is a swap operation:
   tmp = a;
   a = b;
   b = tmp...
145 146 147 148 149 150 151 152 153 154 155
Next ›   Last »