I created a class called Bounds3 which has a vector as its member variable. The error happens when assigning one Bounds3\'s instance to the other. I have solved this problem