Debian Codegraph @

yo/classtemplates/vector/pushback.cc

raw
1 template <typename T>
2 T &Vector<T>::operator[](size_t index)
3 {
4 if (index >= (beyond - data))
5 throw "Vector array index out of bounds";
6 return data[index];
7 }