The containers stores copies of what you feed them, so obviously it calls the copy constructor to make copies of what you put in.