☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
classtemplates
/
vector
/
pushback.cc
☽
☼
yo/classtemplates/vector/pushback.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
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
}