Search

November 13, 2008
General »
...simpler:

	void swap(region R)(int*R a, int*R b);
	void swap(int* a...
November 03, 2008
General »
...become a child scope (needed for a swap function for instance).

Basically, each pointer or...
November 03, 2008
Issues »
...function  insert
function  erase
function  clear
function  swap
function  opIn_r
function  opApply
function  main...
November 03, 2008
General »
...We best start from the safe end.

Swap will work fine because ref is not...
November 02, 2008
General »
...this means you can't implement a swap function for this struct, then I think...
November 01, 2008
General »
I hadn't thought about a swap function. Hrmmm...
November 01, 2008
General »
...check against the constrain.

About reducing what swap can do, I'd like to see...
November 01, 2008
General »
...it. What scope says in swap is only that swap itself does not escape any...
November 01, 2008
General »
...other parameters (like for instance in a swap function).

Note that the const propogation issue...
November 01, 2008
General »
...function that swap two variables then.

Basically, it's implemented like this:

	void swap(scope...
137 138 139 140 141 142 143 144 145 146 147
Next ›   Last »