Search

May 03, 2009
Issues »
...issues/show_bug.cgi?id=2928

           Summary: Swap order of paramaters for std.range's...
April 30, 2009
General »
...your previous proposal of scope constraints:

void swap(scope ref int* a, scope ref int...
April 30, 2009
General »
...you'd get something alike:

	swap(b,c); // Error, 'swap' wants c (shared Object c...
April 30, 2009
General »
...Object c;
swap(a,b);   // Okay
swap(b,c);   // Error, template instantiation swap(local object...
April 30, 2009
General »
...adding scope constrains back then. To implement swap safely, you need to know that the...
April 30, 2009
General »
...to swap two objects of an arbitrary non-const type, I was trying to swap...
April 29, 2009
General »
...a limitation. If someone can't call swap(n.a, n.b) for an arbitrary...
April 29, 2009
General »
...few exceptions, see scope rule 6) to swap them. However, assigning to anywhere off the...
April 29, 2009
General »
...n = n.next;
       auto n2 = n;
       swap(n, n2);
       swap(n, n.next); // Error: Cannot...
April 28, 2009
General »
...n = n.next;
       auto n2 = n;
       swap(n, n2);
       swap(n, n.next); // Error: Cannot...
132 133 134 135 136 137 138 139 140 141 142
Next ›   Last »