cbpporter Messages: 1401 Registered: September 2007
Ultimate Contributor
Use a reference parameter: Test(T& v) or Test(const T& v).
Pick semantics kick in on a copy operation. Even without pick semantics using reference would be advised, since otherwise you would be needlessly copying around data when passed to the function.