void assign()

in pachi_py/ptr.hpp [790:799]


	void assign(const ptr<U>& x) {
		if (this != (ptr<T>*) &x) {
			release();
			px = x.px;
			pn = x.pn;

			// faster than if(pn) (*pn)++
			pn && (*pn)++;
		}
	}