Always redefine the assignment operator in classes that include a pointer value.
Always redefine the assignment operator in classes that include a pointer value.
const box & operator = (box & left, const box & right) { left.value = right.value; return left;
const box & operator = (box & left, int right) { left.value = right; return left;