hash + heap & class (copy, assign, inherit)