extended NVVector interface to more or less match std::vector