vector & class