std::vec has been renamed to std::slice