operator= from vector