Template Function gpa::playback::detail::ValidateVectorSizeForIndex

Function Documentation

template<typename T>
inline void gpa::playback::detail::ValidateVectorSizeForIndex(size_t index, std::vector<T> &vector)

Resizes a std::vector<> if necessary for a given index.

Parameters
  • <T> -- The type of the std::vector<>

  • index -- [in] The index to validate the std::vector<>'s size for

  • vector -- [inout] The std::vector<> to validate